summaryrefslogtreecommitdiff
path: root/security/mhash
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/mhash
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/mhash')
-rw-r--r--security/mhash/Makefile8
-rw-r--r--security/mhash/buildlink2.mk19
2 files changed, 24 insertions, 3 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index f2ea033ddc1..0955f9dbc77 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/10/09 19:20:33 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2002/08/25 18:39:55 jlam Exp $
DISTNAME= mhash-0.8.9
CATEGORIES= security devel
@@ -8,8 +8,10 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://mhash.sourceforge.net/
COMMENT= hash algorithms library
-USE_BUILDLINK_ONLY= YES
-USE_LIBTOOL= YES
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
.include "../../mk/bsd.pkg.mk"
diff --git a/security/mhash/buildlink2.mk b/security/mhash/buildlink2.mk
new file mode 100644
index 00000000000..c126b491292
--- /dev/null
+++ b/security/mhash/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:56 jlam Exp $
+
+.if !defined(MHASH_BUILDLINK2_MK)
+MHASH_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= mhash
+BUILDLINK_DEPENDS.mhash?= mhash>=0.8.3
+BUILDLINK_PKGSRCDIR.mhash?= ../../security/mhash
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.mhash=mhash
+BUILDLINK_PREFIX.mhash_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.mhash= include/mhash.h
+BUILDLINK_FILES.mhash+= lib/libmhash.*
+
+BUILDLINK_TARGETS+= mhash-buildlink
+
+mhash-buildlink: _BUILDLINK_USE
+
+.endif # MHASH_BUILDLINK2_MK