[123270] trunk/dports/net/snownews/Portfile
mf2k at macports.org
mf2k at macports.org
Thu Aug 7 09:39:10 PDT 2014
Revision: 123270
https://trac.macports.org/changeset/123270
Author: mf2k at macports.org
Date: 2014-08-07 09:39:09 -0700 (Thu, 07 Aug 2014)
Log Message:
-----------
snownews: Switch to perl 5.16. (#44405)
Modified Paths:
--------------
trunk/dports/net/snownews/Portfile
Modified: trunk/dports/net/snownews/Portfile
===================================================================
--- trunk/dports/net/snownews/Portfile 2014-08-07 15:59:23 UTC (rev 123269)
+++ trunk/dports/net/snownews/Portfile 2014-08-07 16:39:09 UTC (rev 123270)
@@ -5,6 +5,8 @@
name snownews
version 1.5.12
+revision 1
+set perl_version 5.16
platforms darwin
categories net www
license GPL-2
@@ -25,11 +27,11 @@
depends_lib port:libxml2 \
port:gettext \
- port:p5.12-xml-libxml
+ port:p${perl_version}-xml-libxml
post-patch {
# We want to use perl from MacPorts.
- reinplace s|/usr/bin/perl|${prefix}/bin/perl5.12| ${worksrcpath}/opml2snow
+ reinplace s|/usr/bin/perl|${prefix}/bin/perl${perl_version}| ${worksrcpath}/opml2snow
}
build.args EXTRA_CFLAGS="-I${prefix}/include" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140807/c9e0b281/attachment.html>
More information about the macports-changes
mailing list