pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkglint warning for a file created using createbuildlink



# $NetBSD$

# XXX Packages that only install static libraries or headers should
# XXX include the following line:
BUILDLINK_DEPMETHOD.sylvan?=    build

BUILDLINK_TREE+=        sylvan

.if !defined(SYLVAN_BUILDLINK3_MK)
SYLVAN_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.sylvan+=  sylvan>=1.5.0
BUILDLINK_PKGSRCDIR.sylvan?=    ../../wip/sylvan

.endif  # SYLVAN_BUILDLINK3_MK

BUILDLINK_TREE+=        -sylvan

pkglint warning is:
WARN: buildlink3.mk:3: This line belongs inside the .ifdef block.

Should BUILDLINK_DEPMETHOD line be inside .if?

Are createbuildlink and pkglint not in agreement here?

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index