pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/linc Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/109e4dbbc6f1
branches:  trunk
changeset: 472839:109e4dbbc6f1
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon Apr 12 21:16:37 2004 +0000

description:
Convert to buildlink3.

diffstat:

 net/linc/Makefile      |  10 +++++-----
 net/linc/buildlink2.mk |  23 -----------------------
 net/linc/buildlink3.mk |  22 ++++++++++++++++++++++
 3 files changed, 27 insertions(+), 28 deletions(-)

diffs (83 lines):

diff -r 45e2e008a3db -r 109e4dbbc6f1 net/linc/Makefile
--- a/net/linc/Makefile Mon Apr 12 21:12:44 2004 +0000
+++ b/net/linc/Makefile Mon Apr 12 21:16:37 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/03/26 02:27:48 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2004/04/12 21:16:37 snj Exp $
 #
 
 DISTNAME=              linc-1.1.1
@@ -13,7 +13,7 @@
 
 CONFLICTS=             ORBit2>=2.8
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
 
@@ -23,8 +23,8 @@
 CONFIGURE_ARGS+=       --with-html-dir=${PREFIX}/share/doc/html
 CONFIGURE_ARGS+=       --with-openssl
 
-.include "../../devel/glib2/buildlink2.mk"
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 45e2e008a3db -r 109e4dbbc6f1 net/linc/buildlink2.mk
--- a/net/linc/buildlink2.mk    Mon Apr 12 21:12:44 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.10 2004/03/26 02:27:48 wiz Exp $
-
-.if !defined(LINC_BUILDLINK2_MK)
-LINC_BUILDLINK2_MK=    # defined
-
-BUILDLINK_PACKAGES+=           linc
-BUILDLINK_DEPENDS.linc?=       linc>=1.1.1
-BUILDLINK_RECOMMENDED.linc?=   linc>=1.1.1nb1
-BUILDLINK_PKGSRCDIR.linc?=     ../../net/linc
-
-EVAL_PREFIX+=          BUILDLINK_PREFIX.linc=linc
-BUILDLINK_PREFIX.linc_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.linc=  include/linc-1.0/linc/*
-BUILDLINK_FILES.linc+= lib/liblinc.*
-
-.include "../../devel/glib2/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
-
-BUILDLINK_TARGETS+=    linc-buildlink
-
-linc-buildlink: _BUILDLINK_USE
-
-.endif # LINC_BUILDLINK2_MK
diff -r 45e2e008a3db -r 109e4dbbc6f1 net/linc/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/linc/buildlink3.mk    Mon Apr 12 21:16:37 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 21:16:37 snj Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LINC_BUILDLINK3_MK:=   ${LINC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    linc
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlinc}
+BUILDLINK_PACKAGES+=   linc
+
+.if !empty(LINC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.linc+=       linc>=1.1.1
+BUILDLINK_RECOMMENDED.linc?=    linc>=1.1.1nb1
+BUILDLINK_PKGSRCDIR.linc?=     ../../net/linc
+.endif # LINC_BUILDLINK3_MK
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index