aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-11-23 23:34:52 +0800
committerbeat <beat@FreeBSD.org>2010-11-23 23:34:52 +0800
commitc274837f69a818c635a505eefee161f441d1f2c6 (patch)
treec969199d449cae4e78890713919c769c4f940355
parent1f4e72c9eb65d469bdda0faf0d8250e10ed5983a (diff)
downloadfreebsd-ports-gnome-c274837f69a818c635a505eefee161f441d1f2c6.tar.gz
freebsd-ports-gnome-c274837f69a818c635a505eefee161f441d1f2c6.tar.zst
freebsd-ports-gnome-c274837f69a818c635a505eefee161f441d1f2c6.zip
- Respect STRIP to allow for debugging builds [1]
- Fix build of upcoming Firefox 4 with recent gcc versions [2] PR: ports/152043 [1] Submitted by: Anonymous <swell.k AT gmail.com> [1,2]
-rw-r--r--Mk/bsd.gecko.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index ca56af41b423..49a417840402 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -418,14 +418,16 @@ MOZ_OPTIONS+= --enable-gnomevfs
MOZ_OPTIONS+= --disable-gnomevfs
.endif
+.if !defined(STRIP) || ${STRIP} == ""
+MOZ_OPTIONS+= --disable-strip --disable-install-strip
+.endif
+
.if defined(WITH_DEBUG)
-MOZ_OPTIONS+= --enable-debug \
- --disable-strip
+MOZ_OPTIONS+= --enable-debug
WITH_LOGGING= yes
.else
MOZ_OPTIONS+= --disable-debug \
- --enable-optimize=${WITH_OPTIMIZE} \
- --enable-strip
+ --enable-optimize=${WITH_OPTIMIZE}
.endif
.if defined(WITH_JAVA) && defined(_WITH_JAVA)
@@ -516,6 +518,7 @@ gecko-post-patch:
.for subdir in "" nsprpub js/src
@if [ -f ${MOZSRC}/${subdir}/config/system-headers ] ; then \
${ECHO_CMD} "fenv.h" >> ${MOZSRC}/${subdir}/config/system-headers ; \
+ ${ECHO_CMD} "pthread_np.h" >> ${MOZSRC}/${subdir}/config/system-headers ; \
fi
.endfor
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
mp;id=52dcc00c38663c3629af6951716584d3b89f0559'>- Update to 3.5.6.jkim2012-08-241-2/+2 * Fix typos in COMMENTcs2012-07-231-1/+1 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-2/+2 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-2/+2 * KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-153-3/+19 * - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} orswills2012-06-111-1/+1 * Set maintainership back to ports@cs2012-06-031-1/+1 * - update png to 1.5.10dinoex2012-06-012-1/+2 * - Remove koffice-i18n ports, as they are not very useful withoutavilla2012-05-315-55/+0 * KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-252-9/+13 * - upgrade to 3.5.2bapt2012-04-234-0/+19 * The KDE/FreeBSD team is pleased to announce KDE SC 4.7.4, whichavilla2012-01-251-2/+2 * - Fix WWW addressnivit2011-12-141-1/+1 * - Pass maintainership to office@FreeBSD.orgsunpoet2011-11-291-1/+1 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-141-2/+2 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-172-7/+4 * Change maintainer address to my FreeBSD addresscs2011-09-151-1/+1 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-082-2/+2 * Update KDE Software Compilation ports to 4.6.5makc2011-07-082-2/+34