[49105] trunk/dports/devel/nspr/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Apr 3 17:41:21 PDT 2009
Revision: 49105
http://trac.macports.org/changeset/49105
Author: jeremyhu at macports.org
Date: 2009-04-03 17:41:21 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
nspr: Added a +debug variant
Modified Paths:
--------------
trunk/dports/devel/nspr/Portfile
Modified: trunk/dports/devel/nspr/Portfile
===================================================================
--- trunk/dports/devel/nspr/Portfile 2009-04-04 00:35:06 UTC (rev 49104)
+++ trunk/dports/devel/nspr/Portfile 2009-04-04 00:41:21 UTC (rev 49105)
@@ -29,8 +29,24 @@
universal_variant no
-configure.args --disable-debug --libdir=${prefix}/lib/nspr
+configure.args \
+ --disable-debug \
+ --enable-optimize='-O2' \
+ --enable-strip \
+ --libdir=${prefix}/lib/nspr
+variant debug description "build with debugging symbols" {
+ configure.args-delete --disable-debug \
+ --enable-optimize='-O2' \
+ --enable-strip
+
+ configure.args-append --enable-debug='-ggdb3' \
+ --disable-optimize \
+ --disable-strip
+
+ configure.cflags ""
+}
+
post-destroot {
file mkdir ${destroot}${prefix}/lib/pkgconfig
copy ${filespath}/nspr.pc ${destroot}${prefix}/lib/pkgconfig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/c40672ec/attachment.html>
More information about the macports-changes
mailing list