[131112] trunk/dports/devel/nspr/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Jan 5 23:35:15 PST 2015
Revision: 131112
https://trac.macports.org/changeset/131112
Author: jeremyhu at macports.org
Date: 2015-01-05 23:35:15 -0800 (Mon, 05 Jan 2015)
Log Message:
-----------
nspr: Use correct optimization flags
Modified Paths:
--------------
trunk/dports/devel/nspr/Portfile
Modified: trunk/dports/devel/nspr/Portfile
===================================================================
--- trunk/dports/devel/nspr/Portfile 2015-01-06 07:34:20 UTC (rev 131111)
+++ trunk/dports/devel/nspr/Portfile 2015-01-06 07:35:15 UTC (rev 131112)
@@ -6,6 +6,7 @@
name nspr
version 4.10
+revision 1
categories devel
maintainers nomaintainer
license {MPL-1.1 GPL-2+ LGPL-2.1+}
@@ -33,8 +34,7 @@
configure.args \
--disable-debug \
- --enable-optimize='-O2' \
- --enable-strip \
+ --enable-optimize='${configure.optflags}' \
--libdir=${prefix}/lib/nspr
set merger_configure_args(ppc64) "--enable-64bit"
@@ -42,12 +42,10 @@
variant debug description "build with debugging symbols" {
configure.args-delete --disable-debug \
- --enable-optimize='-O2' \
- --enable-strip
+ --enable-optimize='${configure.optflags}'
configure.args-append --enable-debug='-ggdb3' \
- --disable-optimize \
- --disable-strip
+ --disable-optimize
configure.cflags ""
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150105/c8e1d56d/attachment.html>
More information about the macports-changes
mailing list