summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-22 21:59:22 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-22 21:59:22 +0000
commitfbc44472290049b47dd397dea7bc0800b9be507a (patch)
tree2b0274b37d03d21a3fdacf0322c5852e0df7e5ac /textproc
parent4d1fe96dbfbd6bb2289a852387abf047c978a3c2 (diff)
downloadpkgsrc-fbc44472290049b47dd397dea7bc0800b9be507a.tar.gz
bl3ify
Diffstat (limited to 'textproc')
-rw-r--r--textproc/opensp/Makefile10
-rw-r--r--textproc/opensp/buildlink3.mk31
2 files changed, 36 insertions, 5 deletions
diff --git a/textproc/opensp/Makefile b/textproc/opensp/Makefile
index bfd7dfabf18..bcecd9901d5 100644
--- a/textproc/opensp/Makefile
+++ b/textproc/opensp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/02/14 17:21:53 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2004/02/22 21:59:22 jmmv Exp $
#
DISTNAME= OpenSP-1.5
@@ -13,7 +13,7 @@ COMMENT= SGML parser, successor to "sp"
CONFLICTS+= sp-[0-9]*
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_PERL5= build
USE_LIBTOOL= yes
PTHREAD_OPTS+= native
@@ -22,11 +22,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-http \
--enable-default-catalog=${PREFIX}/share/sgml/catalog
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
-. include "../../devel/unproven-pthreads/buildlink2.mk"
+. include "../../devel/unproven-pthreads/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/opensp/buildlink3.mk b/textproc/opensp/buildlink3.mk
new file mode 100644
index 00000000000..282ce9caa01
--- /dev/null
+++ b/textproc/opensp/buildlink3.mk
@@ -0,0 +1,31 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/22 21:59:22 jmmv Exp $
+#
+# This Makefile fragment is included by packages that use opensp.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+OPENSP_BUILDLINK3_MK:= ${OPENSP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= opensp
+.endif
+
+.if !empty(OPENSP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= opensp
+BUILDLINK_DEPENDS.opensp+= opensp>=1.5nb1
+BUILDLINK_PKGSRCDIR.opensp?= ../../textproc/opensp
+
+PTHREAD_OPTS+= native
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+. include "../../devel/unproven-pthreads/buildlink3.mk"
+.endif
+
+.endif # OPENSP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}