diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-19 00:51:17 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-19 00:51:17 +0000 |
commit | 02e06ac28ccae59c574a63abc05aa014b605df57 (patch) | |
tree | 97a524ab4205c9243184ddbfe7844099725e570b /www/firefox10/Makefile | |
parent | 6a908ec2811f0f4b6494a25251eb7e8561f1eccb (diff) | |
download | freebsd-ports-02e06ac28ccae59c574a63abc05aa014b605df57.zip |
* Try a little harder to get firefox to work without first running as root
* Make sure optimized CFLAGS are actually respected [1]
* Frobnicate the mozconfig file a little bit to be more inline with typical
Linux builds
* Try a safer hack to ensure the install completes okay
Reported by: kris [1]
Diffstat (limited to 'www/firefox10/Makefile')
-rw-r--r-- | www/firefox10/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile index ec944c9ba17b..6c77fb3bc839 100644 --- a/www/firefox10/Makefile +++ b/www/firefox10/Makefile @@ -7,7 +7,7 @@ PORTNAME= firefox PORTVERSION= 0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION} @@ -57,10 +57,6 @@ OPTIONS= DEBUG "Build a debugging image" off \ .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" -CONFIGURE_ENV+= WITH_REORDER=yes -.endif # ${ARCH} == "i386" - .if defined(WITH_DEBUG) WITH_LOGGING= yes CONFIGURE_ENV+= WITH_DEBUG=yes @@ -68,6 +64,9 @@ CONFIGURE_ENV+= WITH_DEBUG=yes .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O2 +CONFIGURE_ENV+= WITH_OPTIMIZE=-O2 +.else +CONFIGURE_ENV+= WITH_OPTIMIZE=-O .endif # defined(WITH_OPTIMIZED_CFLAGS) .if defined(WITH_LOGGING) @@ -137,10 +136,11 @@ pre-configure: fi post-build: - # XXX This works around an install problem that is triggered when - # toolkit/profile/src is built after profile/src. - @(cd ${WRKSRC}/dist/lib && ${LN} -sf ../../profile/src/libprofile_s.a \ - .) +# XXX This works around an install problem that is triggered when +# toolkit/profile/src is built after profile/src. +# @(cd ${WRKSRC}/dist/lib && ${LN} -sf ../../profile/src/libprofile_s.a \ +# .) + @${TOUCH} -f ${WRKSRC}/profile/build/libprofile.so pre-install: # Overview: the program installs itself in FAKEDIR, then a list is made of the |