diff options
-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 |