aboutsummaryrefslogtreecommitdiff
path: root/www/firefox15
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-12 09:06:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-12 09:06:57 +0000
commitafa9784c6ec16e602d9095b6d8b6de764e5532b6 (patch)
treeeb84d3c01dd63fa4e71e444d680a031249bd30ad /www/firefox15
parente93d817324a5cac5f4f2b4a12342484b10b4258c (diff)
downloadports-afa9784c6ec16e602d9095b6d8b6de764e5532b6.tar.gz
ports-afa9784c6ec16e602d9095b6d8b6de764e5532b6.zip
Notes
Diffstat (limited to 'www/firefox15')
-rw-r--r--www/firefox15/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/www/firefox15/Makefile b/www/firefox15/Makefile
index c62839d5aa0c..2f66b52b1798 100644
--- a/www/firefox15/Makefile
+++ b/www/firefox15/Makefile
@@ -7,7 +7,7 @@
PORTNAME= firefox
PORTVERSION= 0.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}
@@ -75,9 +75,9 @@ CONFIGURE_ENV+= WITHOUT_XFT=yes
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/Xft
.endif # !defined(WITHOUT_XFT)
-CPPFLAGS+= -I${X11BASE}/include
+CPPFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include
CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${X11BASE}/lib
+LDFLAGS+= -L${X11BASE}/lib -L${LOCALBASE}/lib
LIBS+= ${PTHREAD_LIBS}
EXTRA_SCRIPTS= ${PORTNAME}.rb
@@ -107,8 +107,10 @@ post-extract::
post-patch:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
- @${PERL} -pi -e 's|-lc_r|${PTHREAD_LIBS}|g' \
- ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure \
+ ${WRKSRC}/nsprpub/configure
@${PERL} -pi -e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/nsprpub/config/config.mk \
${WRKSRC}/security/coreconf/FreeBSD.mk \