diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-01 06:40:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-01 06:40:50 +0000 |
commit | 6114321176802b94b4070edc296007a63ed952d9 (patch) | |
tree | 93296ffd4e5be2469b397b8d3fd76ecc02856c17 /www/mozilla | |
parent | 94bb6c3d26a48c6d306f28ac240e49ef48076bcf (diff) | |
download | pkgsrc-6114321176802b94b4070edc296007a63ed952d9.tar.gz |
Convert to use pthread.buildlink.mk.
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 210c37532ec..2858443631f 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.93 2002/07/24 19:45:31 jlam Exp $ +# $NetBSD: Makefile,v 1.94 2002/08/01 06:40:55 jlam Exp $ MOZ_VER= 1.0 DISTNAME= mozilla-source-${MOZ_VER} @@ -67,14 +67,9 @@ SCRIPTS_ENV+= BINGRP=${BINGRP} SCRIPTS_ENV+= BINMODE=${BINMODE} SCRIPTS_ENV+= SETENV=${SETENV} -# mozilla could be built with nathanw's pthread, but doesn't work now -# so explicity disable pthread support now. -# if you want to try pthread version of mozilla, remove # before !exists(...) -.if (${OPSYS} == "NetBSD") # && !exists(/usr/include/pthread.h) -CONFIGURE_ARGS+= --without-pthreads -.endif +PTHREAD_OPTS+= native -.if ${MACHINE_ARCH} == "m68k" +.if ${MACHINE_ARCH} == "m68k" DBG= .else CONFIGURE_ARGS+= --enable-optimize @@ -98,4 +93,10 @@ post-build: do-install: ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/moz-install +.include "../../mk/pthread.buildlink.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") +CONFIGURE_ARGS+= --without-pthreads +.endif + .include "../../mk/bsd.pkg.mk" |