[142102] trunk/dports/www/clearsilver/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 04:20:21 PST 2015


Revision: 142102
          https://trac.macports.org/changeset/142102
Author:   mojca at macports.org
Date:     2015-11-03 06:15:25 -0800 (Tue, 03 Nov 2015)
Log Message:
-----------
clearsilver: use perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/www/clearsilver/Portfile

Modified: trunk/dports/www/clearsilver/Portfile
===================================================================
--- trunk/dports/www/clearsilver/Portfile	2015-11-03 14:08:01 UTC (rev 142101)
+++ trunk/dports/www/clearsilver/Portfile	2015-11-03 14:15:25 UTC (rev 142102)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                clearsilver
 version             0.10.5
-revision            2
+revision            3
 categories          www python perl
 platforms           darwin
 maintainers         nomaintainer
@@ -39,10 +40,12 @@
                     patch-util__ulist.c \
                     patch-util__ulocks.c
 
-depends_lib         port:python27 \
-                    port:perl5.16 \
+perl5.branches      5.22
+
+depends_lib         port:gettext \
+                    port:perl${perl5.major} \
+                    port:python27 \
                     port:zlib \
-                    port:gettext
 
 set python_bin      ${prefix}/bin/python2.7
 
@@ -51,7 +54,7 @@
                     --disable-ruby \
                     --disable-csharp \
                     --with-python=${python_bin} \
-                    --with-perl=${prefix}/bin/perl5.16 \
+                    --with-perl=${perl5.bin} \
                     --enable-gettext \
                     --mandir=${prefix}/share/man
 
@@ -74,7 +77,7 @@
 }
 
 post-configure {
-    reinplace "s|#include <features.h>||g"
+    reinplace "s|#include <features.h>||g" \
         ${worksrcpath}/cgi/cgiwrap.c
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/e9259038/attachment.html>


More information about the macports-changes mailing list