diff options
author | snj <snj> | 2004-04-27 04:59:42 +0000 |
---|---|---|
committer | snj <snj> | 2004-04-27 04:59:42 +0000 |
commit | ed5e12e656bacee6464cd8e94f05c013fc66fdf9 (patch) | |
tree | c6fb2318cc5da1ef6d38de1363ef6a1ac96a86ba /devel/ldapsdk | |
parent | cc712e2d16940f0df53326f5496fd3079e062634 (diff) | |
download | pkgsrc-ed5e12e656bacee6464cd8e94f05c013fc66fdf9.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'devel/ldapsdk')
-rw-r--r-- | devel/ldapsdk/Makefile | 6 | ||||
-rw-r--r-- | devel/ldapsdk/buildlink2.mk | 28 | ||||
-rw-r--r-- | devel/ldapsdk/buildlink3.mk | 18 |
3 files changed, 21 insertions, 31 deletions
diff --git a/devel/ldapsdk/Makefile b/devel/ldapsdk/Makefile index 4eca6ed2b34..b7ee99e7a8f 100644 --- a/devel/ldapsdk/Makefile +++ b/devel/ldapsdk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2004/02/04 02:52:33 grant Exp $ +# $NetBSD: Makefile,v 1.16 2004/04/27 04:59:42 snj Exp $ DISTNAME= ldapsdk_12311998 PKGNAME= ${DISTNAME:S/_/-/} @@ -15,7 +15,7 @@ CONFLICTS+= openldap-[0-9]* WRKSRC= ${WRKDIR}/mozilla USE_GNU_TOOLS+= make USE_PERL5= build -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes PKG_SYSCONFSUBDIR= ldapsdk EGDIR= ${PREFIX}/share/examples/ldapsdk @@ -34,5 +34,5 @@ do-build: do-install: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-install -.include "../../lang/perl5/buildlink2.mk" +.include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ldapsdk/buildlink2.mk b/devel/ldapsdk/buildlink2.mk deleted file mode 100644 index 336aed65d1f..00000000000 --- a/devel/ldapsdk/buildlink2.mk +++ /dev/null @@ -1,28 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.1 2002/10/20 21:48:17 seb Exp $ -# -# This Makefile fragment is included by packages that use ldapsdk. -# -# This file was created automatically using createbuildlink 2.2. -# - -.if !defined(LDAPSDK_BUILDLINK2_MK) -LDAPSDK_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= ldapsdk -BUILDLINK_DEPENDS.ldapsdk?= ldapsdk>=12311998 -BUILDLINK_PKGSRCDIR.ldapsdk?= ../../devel/ldapsdk - -EVAL_PREFIX+= BUILDLINK_PREFIX.ldapsdk=ldapsdk -BUILDLINK_PREFIX.ldapsdk_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.ldapsdk+= include/disptmpl.h -BUILDLINK_FILES.ldapsdk+= include/lber.h -BUILDLINK_FILES.ldapsdk+= include/ldap.h -BUILDLINK_FILES.ldapsdk+= include/srchpref.h -BUILDLINK_FILES.ldapsdk+= lib/liblber.* -BUILDLINK_FILES.ldapsdk+= lib/libldap.* - -BUILDLINK_TARGETS+= ldapsdk-buildlink - -ldapsdk-buildlink: _BUILDLINK_USE - -.endif # LDAPSDK_BUILDLINK2_MK diff --git a/devel/ldapsdk/buildlink3.mk b/devel/ldapsdk/buildlink3.mk new file mode 100644 index 00000000000..56cb0bdaa74 --- /dev/null +++ b/devel/ldapsdk/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 04:59:42 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LDAPSDK_BUILDLINK3_MK:= ${LDAPSDK_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= ldapsdk +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nldapsdk} +BUILDLINK_PACKAGES+= ldapsdk + +.if !empty(LDAPSDK_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.ldapsdk+= ldapsdk>=12311998 +BUILDLINK_PKGSRCDIR.ldapsdk?= ../../devel/ldapsdk +.endif # LDAPSDK_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |