[131502] trunk/dports/perl/p5-http-server-simple/Portfile

devans at macports.org devans at macports.org
Mon Jan 12 18:29:00 PST 2015


Revision: 131502
          https://trac.macports.org/changeset/131502
Author:   devans at macports.org
Date:     2015-01-12 18:29:00 -0800 (Mon, 12 Jan 2015)
Log Message:
-----------
p5-http-server-simple: depend explicitly on CGI which will be removed from core in perl 5.22, increment revision.

Modified Paths:
--------------
    trunk/dports/perl/p5-http-server-simple/Portfile

Modified: trunk/dports/perl/p5-http-server-simple/Portfile
===================================================================
--- trunk/dports/perl/p5-http-server-simple/Portfile	2015-01-13 02:27:34 UTC (rev 131501)
+++ trunk/dports/perl/p5-http-server-simple/Portfile	2015-01-13 02:29:00 UTC (rev 131502)
@@ -6,6 +6,7 @@
 
 perl5.branches      5.16 5.18 5.20
 perl5.setup         HTTP-Server-Simple 0.44
+revision            1
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
 description         A very simple standalone HTTP daemon
@@ -17,3 +18,9 @@
                     sha256  cff4f882da63a9a71271e25d1dc9160e64e5dd1195ed0a63894609ada7bb7416
 
 supported_archs     noarch
+
+if {${perl5.major} != ""} {
+# depend explicitly on CGI which will be removed from core in perl 5.22
+    depends_lib-append \
+                    port:p${perl5.major}-cgi
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150112/4abd763c/attachment.html>


More information about the macports-changes mailing list