pkgsrc/devel/libtool/buildlink3.mk
jlam 59bdf89739 If the ${PKGBASE} of a package doesn't match the token passed to
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that
we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-16 18:23:26 +00:00

19 lines
532 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2004/03/16 18:23:27 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LTDL_BUILDLINK3_MK:= ${LTDL_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= ltdl
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nltdl}
BUILDLINK_PACKAGES+= ltdl
.if !empty(LTDL_BUILDLINK3_MK:M+)
BUILDLINK_PKGBASE.ltdl?= libtool-base
BUILDLINK_DEPENDS.ltdl+= libtool-base>=1.5.2
BUILDLINK_PKGSRCDIR.ltdl?= ../../devel/libtool-base
.endif # LTDL_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}