summaryrefslogtreecommitdiff
path: root/security/libgpg-error
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-09 20:25:09 +0000
committerjlam <jlam@pkgsrc.org>2004-02-09 20:25:09 +0000
commit52cda80f7d628ad64437ff03ea084d9f0b5cd8ff (patch)
treeb2d3485885779de0f645a7dd91a5b5cbd14ef34a /security/libgpg-error
parente1f34b4652fc6ebca786cad23a3e5ca0d889142a (diff)
downloadpkgsrc-52cda80f7d628ad64437ff03ea084d9f0b5cd8ff.tar.gz
bl3ify
Diffstat (limited to 'security/libgpg-error')
-rw-r--r--security/libgpg-error/Makefile6
-rw-r--r--security/libgpg-error/buildlink3.mk18
2 files changed, 21 insertions, 3 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index 5756c1ada40..79b44dcef47 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/12/14 14:57:40 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/09 20:28:16 jlam Exp $
#
DISTNAME= libgpg-error-0.6
@@ -10,13 +10,13 @@ MAINTAINER= minskim@bawi.org
HOMEPAGE= http://www.gnupg.org/
COMMENT= Definitions of common error values for all GnuPG components
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/libgpg-error/buildlink3.mk b/security/libgpg-error/buildlink3.mk
new file mode 100644
index 00000000000..faafa2f1430
--- /dev/null
+++ b/security/libgpg-error/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/09 20:28:16 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBGPG_ERROR_BUILDLINK3_MK:= ${LIBGPG_ERROR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libgpg-error
+.endif
+
+.if !empty(LIBGPG_ERROR_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libgpg-error
+BUILDLINK_DEPENDS.libgpg-error?= libgpg-error>=0.6
+BUILDLINK_PKGSRCDIR.libgpg-error?= ../../security/libgpg-error
+
+. include "../../devel/gettext-lib/buildlink3.mk"
+.endif # LIBGPG_ERROR_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}