diff options
Diffstat (limited to 'textproc/opensp')
-rw-r--r-- | textproc/opensp/Makefile | 10 | ||||
-rw-r--r-- | textproc/opensp/buildlink3.mk | 31 |
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/+$//} |