summaryrefslogtreecommitdiff
path: root/security/rsaref
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /security/rsaref
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'security/rsaref')
-rw-r--r--security/rsaref/Makefile4
-rw-r--r--security/rsaref/buildlink2.mk19
2 files changed, 21 insertions, 2 deletions
diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile
index 4a7f79f0bc3..983fb8fa4fe 100644
--- a/security/rsaref/Makefile
+++ b/security/rsaref/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2002/08/01 02:37:42 jschauma Exp $
+# $NetBSD: Makefile,v 1.26 2002/08/25 18:39:56 jlam Exp $
#
DISTNAME= rsaref
@@ -14,7 +14,7 @@ COMMENT= Encryption/authentication library, RSA/MDX/DES
CRYPTO= yes
LICENSE= no-commercial-use
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
USE_LIBTOOL= yes
MAKEFILE= unix/makefile
ALL_TARGET= librsaref.la
diff --git a/security/rsaref/buildlink2.mk b/security/rsaref/buildlink2.mk
new file mode 100644
index 00000000000..7d5a2a45213
--- /dev/null
+++ b/security/rsaref/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:57 jlam Exp $
+
+.if !defined(RSAREF_BUILDLINK2_MK)
+RSAREF_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= rsaref
+BUILDLINK_DEPENDS.rsaref?= rsaref-2.0p3
+BUILDLINK_PKGSRCDIR.rsaref?= ../../security/rsaref
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.rsaref=rsaref
+BUILDLINK_PREFIX.rsaref_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.rsaref= include/rsaref/*.h
+BUILDLINK_FILES.rsaref+= lib/librsaref.*
+
+BUILDLINK_TARGETS+= rsaref-buildlink
+
+rsaref-buildlink: _BUILDLINK_USE
+
+.endif # RSAREF_BUILDLINK2_MK