summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authortnn <tnn>2011-09-12 09:19:06 +0000
committertnn <tnn>2011-09-12 09:19:06 +0000
commit4917630ac13137ac57b7ea23756cb0c6486359db (patch)
tree30d71dbe7de682c3a448cca710cfd1ba274dc071 /www/firefox
parent4e05bbec4bbdc72cf86ab3d2a849d95895cebe79 (diff)
downloadpkgsrc-4917630ac13137ac57b7ea23756cb0c6486359db.tar.gz
PR pkg/45346: Pierre Allegraud: Be more consistent about which configure
settings we want / do not want with the debug option.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 6546cf9d38f..610a3f3176e 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2011/08/18 18:31:10 tnn Exp $
+# $NetBSD: Makefile,v 1.88 2011/09/12 09:19:06 tnn Exp $
.include "../../devel/xulrunner/dist.mk"
PKGNAME= firefox-${FIREFOX_VER}
@@ -61,5 +61,12 @@ PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
.endif
+.if !empty(PKG_BUILD_OPTIONS.xulrunner:Mdebug)
+CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
+CONFIGURE_ARGS+= --disable-install-strip
+.else
+CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
+CONFIGURE_ARGS+= --enable-install-strip
+.endif
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"