aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-10-22 19:04:48 +0800
committeralane <alane@FreeBSD.org>2002-10-22 19:04:48 +0800
commitf2d1033449858d5e2882717ff5f8d45955817002 (patch)
tree6e09e3886009c8c0dc19518b98ec1235f3190f39 /www
parentc927b08d317ba16f70d7eac5fe8eeaa0b39db234 (diff)
downloadfreebsd-ports-gnome-f2d1033449858d5e2882717ff5f8d45955817002.tar.gz
freebsd-ports-gnome-f2d1033449858d5e2882717ff5f8d45955817002.tar.zst
freebsd-ports-gnome-f2d1033449858d5e2882717ff5f8d45955817002.zip
1. Respect CFLAGS.
2. Set appropriate compile/link options for threading.
Diffstat (limited to 'www')
-rw-r--r--www/firefox-devel/Makefile7
-rw-r--r--www/firefox-devel/files/mozconfig.in4
-rw-r--r--www/firefox-esr/Makefile7
-rw-r--r--www/firefox-esr/files/mozconfig.in4
-rw-r--r--www/firefox/Makefile7
-rw-r--r--www/firefox/files/mozconfig.in4
-rw-r--r--www/firefox10/Makefile7
-rw-r--r--www/firefox10/files/mozconfig.in4
-rw-r--r--www/firefox15/Makefile7
-rw-r--r--www/firefox15/files/mozconfig.in4
-rw-r--r--www/firefox3-devel/Makefile7
-rw-r--r--www/firefox3-devel/files/mozconfig.in4
-rw-r--r--www/firefox35/Makefile7
-rw-r--r--www/firefox35/files/mozconfig.in4
-rw-r--r--www/firefox36/Makefile7
-rw-r--r--www/firefox36/files/mozconfig.in4
-rw-r--r--www/flock/Makefile7
-rw-r--r--www/flock/files/mozconfig.in4
-rw-r--r--www/mozilla-firebird/Makefile7
-rw-r--r--www/mozilla-firebird/files/mozconfig.in4
-rw-r--r--www/phoenix-devel/Makefile7
-rw-r--r--www/phoenix-devel/files/mozconfig.in4
-rw-r--r--www/phoenix/Makefile7
-rw-r--r--www/phoenix/files/mozconfig.in4
24 files changed, 96 insertions, 36 deletions
diff --git a/www/firefox-devel/Makefile b/www/firefox-devel/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox-devel/Makefile
+++ b/www/firefox-devel/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
diff --git a/www/firefox-devel/files/mozconfig.in b/www/firefox-devel/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox-devel/files/mozconfig.in
+++ b/www/firefox-devel/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
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
diff --git a/www/firefox-esr/files/mozconfig.in b/www/firefox-esr/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox-esr/files/mozconfig.in
+++ b/www/firefox-esr/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/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
diff --git a/www/firefox/files/mozconfig.in b/www/firefox/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox/files/mozconfig.in
+++ b/www/firefox/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox10/Makefile
+++ b/www/firefox10/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
diff --git a/www/firefox10/files/mozconfig.in b/www/firefox10/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox10/files/mozconfig.in
+++ b/www/firefox10/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/firefox15/Makefile b/www/firefox15/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox15/Makefile
+++ b/www/firefox15/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
diff --git a/www/firefox15/files/mozconfig.in b/www/firefox15/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox15/files/mozconfig.in
+++ b/www/firefox15/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/firefox3-devel/Makefile b/www/firefox3-devel/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox3-devel/Makefile
+++ b/www/firefox3-devel/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
diff --git a/www/firefox3-devel/files/mozconfig.in b/www/firefox3-devel/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox3-devel/files/mozconfig.in
+++ b/www/firefox3-devel/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/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
diff --git a/www/firefox35/files/mozconfig.in b/www/firefox35/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox35/files/mozconfig.in
+++ b/www/firefox35/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/firefox36/Makefile b/www/firefox36/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/firefox36/Makefile
+++ b/www/firefox36/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
diff --git a/www/firefox36/files/mozconfig.in b/www/firefox36/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/firefox36/files/mozconfig.in
+++ b/www/firefox36/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/flock/Makefile b/www/flock/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/flock/Makefile
+++ b/www/flock/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
diff --git a/www/flock/files/mozconfig.in b/www/flock/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/flock/files/mozconfig.in
+++ b/www/flock/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/mozilla-firebird/Makefile b/www/mozilla-firebird/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/mozilla-firebird/Makefile
+++ b/www/mozilla-firebird/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
diff --git a/www/mozilla-firebird/files/mozconfig.in b/www/mozilla-firebird/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/mozilla-firebird/files/mozconfig.in
+++ b/www/mozilla-firebird/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/phoenix-devel/Makefile b/www/phoenix-devel/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/phoenix-devel/Makefile
+++ b/www/phoenix-devel/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
diff --git a/www/phoenix-devel/files/mozconfig.in b/www/phoenix-devel/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/phoenix-devel/files/mozconfig.in
+++ b/www/phoenix-devel/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
diff --git a/www/phoenix/Makefile b/www/phoenix/Makefile
index a197d83f1ecb..ce27e02cae11 100644
--- a/www/phoenix/Makefile
+++ b/www/phoenix/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
diff --git a/www/phoenix/files/mozconfig.in b/www/phoenix/files/mozconfig.in
index f923e6f239b5..cbc4ac979bd5 100644
--- a/www/phoenix/files/mozconfig.in
+++ b/www/phoenix/files/mozconfig.in
@@ -9,9 +9,11 @@ ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
-ac_add_options --enable-optimize=-O2
+#ac_add_options --enable-optimize=-O2
######################################################################
# FBSD specific
+export CFLAGS=@CFLAGS@
+export LIBS=@LIBS@
export PERL=@LOCALBASE@/bin/perl5.8.0
mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config