pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libidea Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12292456de8e
branches:  trunk
changeset: 473297:12292456de8e
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 18 18:48:41 2004 +0000

description:
Convert to buildlink3.

diffstat:

 security/libidea/Makefile      |   3 ++-
 security/libidea/buildlink2.mk |  20 --------------------
 security/libidea/buildlink3.mk |  19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 21 deletions(-)

diffs (64 lines):

diff -r 12dc3fdcb877 -r 12292456de8e security/libidea/Makefile
--- a/security/libidea/Makefile Sun Apr 18 18:41:51 2004 +0000
+++ b/security/libidea/Makefile Sun Apr 18 18:48:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/20 12:25:34 agc Exp $
+# $NetBSD: Makefile,v 1.7 2004/04/18 18:48:41 snj Exp $
 #
 
 DISTNAME=      libidea-0.8.2b
@@ -20,6 +20,7 @@
 NO_BIN_ON_CDROM=${RESTRICTED}
 NO_SRC_ON_FTP= ${RESTRICTED}
 NO_BIN_ON_FTP= ${RESTRICTED}
+USE_BUILDLINK3=        yes
 
 do-install:
        cd ${WRKSRC} &&                                                 \
diff -r 12dc3fdcb877 -r 12292456de8e security/libidea/buildlink2.mk
--- a/security/libidea/buildlink2.mk    Sun Apr 18 18:41:51 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2003/08/23 21:34:21 wiz Exp $
-
-.if !defined(LIBIDEA_BUILDLINK2_MK)
-LIBIDEA_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+=           libidea
-BUILDLINK_DEPENDS.libidea?=    libidea>=0.8.2
-BUILDLINK_PKGSRCDIR.libidea?=  ../../security/libidea
-BUILDLINK_DEPMETHOD.libidea?=  build
-
-EVAL_PREFIX+=  BUILDLINK_PREFIX.libidea=libidea
-BUILDLINK_PREFIX.libidea_DEFAULT=${LOCALBASE}
-BUILDLINK_FILES.libidea=       include/idea.h
-BUILDLINK_FILES.libidea+=      lib/libidea.*
-
-BUILDLINK_TARGETS+=    libidea-buildlink
-
-libidea-buildlink: _BUILDLINK_USE
-
-.endif # LIBIDEA_BUILDLINK2_MK
diff -r 12dc3fdcb877 -r 12292456de8e security/libidea/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libidea/buildlink3.mk    Sun Apr 18 18:48:41 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 18:48:41 snj Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBIDEA_BUILDLINK3_MK:=        ${LIBIDEA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libidea
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibidea}
+BUILDLINK_PACKAGES+=   libidea
+
+.if !empty(LIBIDEA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libidea+=    libidea>=0.8.2
+BUILDLINK_PKGSRCDIR.libidea?=  ../../security/libidea
+BUILDLINK_DEPMETHOD.libidea?=  build
+.endif # LIBIDEA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index