summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2011-09-12 09:19:06 +0000
committertnn <tnn@pkgsrc.org>2011-09-12 09:19:06 +0000
commit26be83df417bec5ec2a3f2b410f6eaa44b6b7110 (patch)
tree30d71dbe7de682c3a448cca710cfd1ba274dc071
parent791b2e720829fdcf8273d9f7247c470ce58ba9de (diff)
downloadpkgsrc-26be83df417bec5ec2a3f2b410f6eaa44b6b7110.tar.gz
PR pkg/45346: Pierre Allegraud: Be more consistent about which configure
settings we want / do not want with the debug option.
-rw-r--r--devel/xulrunner/options.mk7
-rw-r--r--mail/thunderbird/options.mk8
-rw-r--r--www/firefox/Makefile9
-rw-r--r--www/seamonkey/options.mk8
4 files changed, 22 insertions, 10 deletions
diff --git a/devel/xulrunner/options.mk b/devel/xulrunner/options.mk
index 98d2161296e..2f083ef6158 100644
--- a/devel/xulrunner/options.mk
+++ b/devel/xulrunner/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2011/04/26 14:16:36 tnn Exp $
+# $NetBSD: options.mk,v 1.10 2011/09/12 09:19:06 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xulrunner
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome pulseaudio
@@ -40,11 +40,12 @@ CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+= --enable-debug
+CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
-CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
+CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jit)
diff --git a/mail/thunderbird/options.mk b/mail/thunderbird/options.mk
index 204e6f75410..238b47b1790 100644
--- a/mail/thunderbird/options.mk
+++ b/mail/thunderbird/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2011/08/23 18:04:17 tnn Exp $
+# $NetBSD: options.mk,v 1.9 2011/09/12 09:19:06 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome official-mozilla-branding mozilla-lightning mozilla-enigmail
@@ -38,10 +38,12 @@ CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+= --enable-debug
+CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
+CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
-CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
+CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jit)
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"
diff --git a/www/seamonkey/options.mk b/www/seamonkey/options.mk
index 5bf97ed24bb..ebb00021e31 100644
--- a/www/seamonkey/options.mk
+++ b/www/seamonkey/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.19 2011/08/23 16:38:01 tnn Exp $
+# $NetBSD: options.mk,v 1.20 2011/09/12 09:19:06 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.seamonkey
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome
@@ -33,9 +33,11 @@ CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+= --enable-debug
+CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
+CONFIGURE_ARGS+= --disable-install-strip
.else
-CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
+CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jit)