pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/libsnert Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeeec79fd477
branches:  trunk
changeset: 473833:aeeec79fd477
user:      snj <snj%pkgsrc.org@localhost>
date:      Sat Apr 24 22:53:54 2004 +0000

description:
Convert to buildlink3.

diffstat:

 mail/libsnert/Makefile      |   6 +++---
 mail/libsnert/buildlink3.mk |  19 +++++++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 418be2b01e82 -r aeeec79fd477 mail/libsnert/Makefile
--- a/mail/libsnert/Makefile    Sat Apr 24 22:49:15 2004 +0000
+++ b/mail/libsnert/Makefile    Sat Apr 24 22:53:54 2004 +0000
@@ -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 @@
 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 @@
                        ${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 -r 418be2b01e82 -r aeeec79fd477 mail/libsnert/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/libsnert/buildlink3.mk       Sat Apr 24 22:53:54 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index