diff options
author | drochner <drochner@pkgsrc.org> | 2005-05-31 16:40:31 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2005-05-31 16:40:31 +0000 |
commit | efe717de0889fb32145c3bce1dbfe43d37feaa7d (patch) | |
tree | 1d312e0531e195a2de5e9346e33ef9555672ef2d /lang | |
parent | caea7a8ecda700e416240bca02351d1ea8dde3bb (diff) | |
download | pkgsrc-efe717de0889fb32145c3bce1dbfe43d37feaa7d.tar.gz |
don't require native threads, deal with the non-thread case instead.
this enables the pkg for NetBSD-1.6
tested by Roland Illig
Diffstat (limited to 'lang')
-rw-r--r-- | lang/cint/Makefile | 11 | ||||
-rw-r--r-- | lang/cint/PLIST | 4 |
2 files changed, 10 insertions, 5 deletions
diff --git a/lang/cint/Makefile b/lang/cint/Makefile index 82197cc7cd6..ac87f05c669 100644 --- a/lang/cint/Makefile +++ b/lang/cint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/05/25 17:48:13 drochner Exp $ +# $NetBSD: Makefile,v 1.16 2005/05/31 16:40:31 drochner Exp $ DISTNAME= cint5.15 PKGNAME= cint-5.15.174 @@ -14,7 +14,13 @@ COMMENT= C/C++ interpreter DIST_SUBDIR= ${PKGNAME} WRKSRC= ${WRKDIR} GCC_REQD+= 3.0 -PTHREAD_OPTS+= require native +PTHREAD_OPTS+= native +.include "../../mk/pthread.buildlink3.mk" +.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native" +PLIST_SUBST+= HAVE_THR="" +.else +PLIST_SUBST+= HAVE_THR="@comment " +.endif post-extract: ${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} \; @@ -43,5 +49,4 @@ do-install: ${CP} -r ${WRKDIR}/lib/prec_stl ${PREFIX}/cint/lib ${INSTALL_DATA} ${WRKDIR}/G__ci.h ${PREFIX}/cint -.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/lang/cint/PLIST b/lang/cint/PLIST index c97563ccedf..e33b888459c 100644 --- a/lang/cint/PLIST +++ b/lang/cint/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2005/05/02 17:01:34 drochner Exp $ +@comment $NetBSD: PLIST,v 1.3 2005/05/31 16:40:31 drochner Exp $ bin/cint bin/makecint cint/G__ci.h @@ -110,7 +110,7 @@ cint/include/new cint/include/new.h cint/include/ostream cint/include/platform.h -cint/include/pthread.dll +${HAVE_THR}cint/include/pthread.dll cint/include/pthread.h cint/include/readfile.h cint/include/regex.h |