pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libdes Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a722e33e273
branches: trunk
changeset: 472831:9a722e33e273
user: snj <snj%pkgsrc.org@localhost>
date: Mon Apr 12 20:46:28 2004 +0000
description:
Convert to buildlink3.
diffstat:
security/libdes/Makefile | 3 ++-
security/libdes/buildlink2.mk | 20 --------------------
security/libdes/buildlink3.mk | 19 +++++++++++++++++++
3 files changed, 21 insertions(+), 21 deletions(-)
diffs (63 lines):
diff -r 12d416b90844 -r 9a722e33e273 security/libdes/Makefile
--- a/security/libdes/Makefile Mon Apr 12 20:37:17 2004 +0000
+++ b/security/libdes/Makefile Mon Apr 12 20:46:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/20 12:25:34 agc Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/12 20:46:28 snj Exp $
DISTNAME= libdes-4.04b
CATEGORIES= security
@@ -9,5 +9,6 @@
WRKSRC= ${WRKDIR}/des
CRYPTO= YES
+USE_BUILDLINK3= YES
.include "../../mk/bsd.pkg.mk"
diff -r 12d416b90844 -r 9a722e33e273 security/libdes/buildlink2.mk
--- a/security/libdes/buildlink2.mk Mon Apr 12 20:37:17 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:16 jlam Exp $
-
-.if !defined(LIBDES_BUILDLINK2_MK)
-LIBDES_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libdes
-BUILDLINK_DEPENDS.libdes?= libdes-4.04b
-BUILDLINK_PKGSRCDIR.libdes?= ../../security/libdes
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libdes=libdes
-BUILDLINK_PREFIX.libdes_DEFAULT= ${LOCALBASE}
-
-BUILDLINK_FILES.libdes= include/libdes.h
-BUILDLINK_FILES.libdes+= lib/libdes.a
-
-BUILDLINK_TARGETS+= libdes-buildlink
-
-libdes-buildlink: _BUILDLINK_USE
-
-.endif # LIBDES_BUILDLINK2_MK
diff -r 12d416b90844 -r 9a722e33e273 security/libdes/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libdes/buildlink3.mk Mon Apr 12 20:46:28 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 20:46:28 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBDES_BUILDLINK3_MK:= ${LIBDES_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libdes
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdes}
+BUILDLINK_PACKAGES+= libdes
+
+.if !empty(LIBDES_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libdes+= libdes>=4.04b
+BUILDLINK_PKGSRCDIR.libdes?= ../../security/libdes
+BUILDLINK_DEPMETHOD.libdes?= build
+.endif # LIBDES_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index