aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox-esr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/Makefile')
-rw-r--r--www/firefox-esr/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -31,7 +31,8 @@ USE_BZIP2= yes
USE_GMAKE= yes
#USE_AUTOCONF_VER= 213
GNU_CONFIGURE= yes
-
+CFLAGS+= ${PTHREAD_CFLAGS}
+LIBS+= ${PTHREAD_LIBS}
WRKSRC= ${WRKDIR}/mozilla
.include <bsd.port.pre.mk>
@@ -41,7 +42,9 @@ WRKSRC= ${WRKDIR}/mozilla
.endif
post-extract:
- ${SED} -e 's|@X11BASE@|${X11BASE}|' \
+ ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \
+ -e 's|@LIBS@|${LIBS}|' \
+ -e 's|@X11BASE@|${X11BASE}|' \
-e 's|@LOCALBASE@|${LOCALBASE}|' \
<${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig