[52850] trunk/dports/www/neon/Portfile
dluke at macports.org
dluke at macports.org
Wed Jun 24 06:00:40 PDT 2009
Revision: 52850
http://trac.macports.org/changeset/52850
Author: dluke at macports.org
Date: 2009-06-24 06:00:40 -0700 (Wed, 24 Jun 2009)
Log Message:
-----------
Don't reinplace if configure.universal_cppflags isn't set (like #20017, r52830 - fix for trunk)
Modified Paths:
--------------
trunk/dports/www/neon/Portfile
Modified: trunk/dports/www/neon/Portfile
===================================================================
--- trunk/dports/www/neon/Portfile 2009-06-24 09:54:37 UTC (rev 52849)
+++ trunk/dports/www/neon/Portfile 2009-06-24 13:00:40 UTC (rev 52850)
@@ -56,12 +56,14 @@
post-destroot {
if {[variant_isset universal]} {
- reinplace "s|${configure.universal_cppflags}||g" \
- ${destroot}${prefix}/bin/neon-config \
- ${destroot}${prefix}/lib/pkgconfig/neon.pc
- reinplace "s|${configure.universal_ldflags}||g" \
- ${destroot}${prefix}/bin/neon-config \
- ${destroot}${prefix}/lib/pkgconfig/neon.pc
+ if {${configure.universal_cppflags} != ""} {
+ reinplace "s|${configure.universal_cppflags}||g" \
+ ${destroot}${prefix}/bin/neon-config \
+ ${destroot}${prefix}/lib/pkgconfig/neon.pc
+ reinplace "s|${configure.universal_ldflags}||g" \
+ ${destroot}${prefix}/bin/neon-config \
+ ${destroot}${prefix}/lib/pkgconfig/neon.pc
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090624/16c12ecb/attachment.html>
More information about the macports-changes
mailing list