diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-01 06:57:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-01 06:57:25 +0000 |
commit | 5340c707e0bc6a73b4bb71dc8a07c8e44430ea5f (patch) | |
tree | 95e2b1bd528f47d733c45cd178501578662a9b71 /textproc/opensp | |
parent | 6114321176802b94b4070edc296007a63ed952d9 (diff) | |
download | pkgsrc-5340c707e0bc6a73b4bb71dc8a07c8e44430ea5f.tar.gz |
Convert to use pthread.buildlink.mk.
Diffstat (limited to 'textproc/opensp')
-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" |