[109794] trunk/dports/devel/libmemcached/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Aug 19 23:20:45 PDT 2013
Revision: 109794
https://trac.macports.org/changeset/109794
Author: jeremyhu at macports.org
Date: 2013-08-19 23:20:45 -0700 (Mon, 19 Aug 2013)
Log Message:
-----------
libmemcached: Future-proof
Modified Paths:
--------------
trunk/dports/devel/libmemcached/Portfile
Modified: trunk/dports/devel/libmemcached/Portfile
===================================================================
--- trunk/dports/devel/libmemcached/Portfile 2013-08-20 06:19:18 UTC (rev 109793)
+++ trunk/dports/devel/libmemcached/Portfile 2013-08-20 06:20:45 UTC (rev 109794)
@@ -64,8 +64,10 @@
universal_variant no
}
-platform darwin 13 {
- post-patch {
- reinplace "s:tr1/::" ${worksrcpath}/libmemcached-1.0/memcached.h
+platform darwin {
+ if {${os.major} >= 13} {
+ post-patch {
+ reinplace "s:tr1/::" ${worksrcpath}/libmemcached-1.0/memcached.h
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130819/fe7fe3c4/attachment-0001.html>
More information about the macports-changes
mailing list