diff options
author | snj <snj@pkgsrc.org> | 2004-04-24 22:53:54 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-24 22:53:54 +0000 |
commit | d317f7dd9a07532d16e0a2d498ec54fa575ee129 (patch) | |
tree | e4cb95375cb47735090686ee97016d44b6cd931b /mail | |
parent | 5d1db204e9d61de49b1a1536c13733b7fb4306d5 (diff) | |
download | pkgsrc-d317f7dd9a07532d16e0a2d498ec54fa575ee129.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libsnert/Makefile | 6 | ||||
-rw-r--r-- | mail/libsnert/buildlink3.mk | 19 |
2 files changed, 22 insertions, 3 deletions
diff --git a/mail/libsnert/Makefile b/mail/libsnert/Makefile index fd0cd18b84c..eaf41fb7edc 100644 --- a/mail/libsnert/Makefile +++ b/mail/libsnert/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2003/12/24 09:53:49 jmmv Exp $ +# $NetBSD: Makefile,v 1.4 2004/04/24 22:53:55 snj Exp $ # DISTNAME= libsnert-1.23 @@ -14,7 +14,7 @@ WRKSRC= ${WRKDIR}/com/snert/src/lib GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-mutex=flock MAKEFILE= makefile -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes LICENSE= snert-license RESTRICTED= "Redistribution not permitted" @@ -70,5 +70,5 @@ do-install: ${PREFIX}/include/com/snert/lib ${INSTALL_DATA} ${LIBDIR}/libsnert.a ${PREFIX}/lib -.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/libsnert/buildlink3.mk b/mail/libsnert/buildlink3.mk new file mode 100644 index 00000000000..20a5c68a3a1 --- /dev/null +++ b/mail/libsnert/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/24 22:53:55 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBSNERT_BUILDLINK3_MK:= ${LIBSNERT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libsnert +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsnert} +BUILDLINK_PACKAGES+= libsnert + +.if !empty(LIBSNERT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libsnert+= libsnert>=1.23 +BUILDLINK_PKGSRCDIR.libsnert?= ../../mail/libsnert +BUILDLINK_DEPMETHOD.libsnert?= build +.endif # LIBSNERT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |