diff options
author | jlam <jlam> | 2002-08-01 06:57:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-01 06:57:25 +0000 |
commit | de72637372bd225d0ef66292e286f1ee98f410a2 (patch) | |
tree | 95e2b1bd528f47d733c45cd178501578662a9b71 /textproc | |
parent | 0867e28c7927fd7e5cd40b1355543e7922adce58 (diff) | |
download | pkgsrc-de72637372bd225d0ef66292e286f1ee98f410a2.tar.gz |
Convert to use pthread.buildlink.mk.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/opensp/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/textproc/opensp/Makefile b/textproc/opensp/Makefile index 2476a91a994..758b3ca6df4 100644 --- a/textproc/opensp/Makefile +++ b/textproc/opensp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/07/25 10:02:09 agc Exp $ +# $NetBSD: Makefile,v 1.13 2002/08/01 06:57:25 jlam Exp $ # DISTNAME= OpenSP-1.4 @@ -10,19 +10,24 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://openjade.sourceforge.net/doc-1.4/index.htm COMMENT= SGML parser, successor to "sp" -DEPENDS+= unproven-pthreads-[0-9]*:../../devel/unproven-pthreads -USE_PERL5= build - CONFLICTS+= sp-[0-9]* -GNU_CONFIGURE= YES -CONFIGURE_ARGS+=--enable-http \ - --enable-default-catalog=${PREFIX}/share/sgml/catalog -CONFIGURE_ENV+= CC="${LOCALBASE}/pthreads/bin/pgcc" \ - CXX="${LOCALBASE}/pthreads/bin/pg++" +USE_BUILDLINK_ONLY= yes +USE_PERL5= build +PTHREAD_OPTS+= native + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-http \ + --enable-default-catalog=${PREFIX}/share/sgml/catalog -USE_LIBTOOL= yes +USE_LIBTOOL= yes LIBTOOL_OVERRIDE= ${WRKSRC}/libtool -USE_LIBINTL= yes + +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../mk/pthread.buildlink.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") +. include "../../devel/unproven-pthreads/buildlink.mk" +.endif .include "../../mk/bsd.pkg.mk" |