[143669] trunk/dports/net/whois/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Dec 17 03:48:29 PST 2015


Revision: 143669
          https://trac.macports.org/changeset/143669
Author:   ryandesign at macports.org
Date:     2015-12-17 03:48:29 -0800 (Thu, 17 Dec 2015)
Log Message:
-----------
whois: build with perl5.22

Modified Paths:
--------------
    trunk/dports/net/whois/Portfile

Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile	2015-12-17 11:42:44 UTC (rev 143668)
+++ trunk/dports/net/whois/Portfile	2015-12-17 11:48:29 UTC (rev 143669)
@@ -11,6 +11,7 @@
 
 PortSystem                  1.0
 PortGroup                   compiler_blacklist_versions 1.0
+PortGroup                   perl5 1.0
 
 name                        whois
 conflicts                   bahamut expect ripe-whois
@@ -35,9 +36,9 @@
 
 distfiles                   ${name}_${version}${extract.suffix}
 
-set perl_version            5.16
+set perl5.branches          5.22
 
-depends_build               port:perl${perl_version}
+depends_build               port:perl${perl5.major}
 
 depends_lib                 port:gettext \
                             port:libidn \
@@ -84,7 +85,7 @@
 build.args                  prefix=${prefix} \
                             INCLUDES="${configure.cflags} ${configure.cppflags}" \
                             LIBS="${configure.ldflags}" \
-                            PERL=${prefix}/bin/perl${perl_version}
+                            PERL=${perl5.bin}
 
 destroot.target-append      install-pos
 destroot.args               prefix=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151217/62955ba1/attachment.html>


More information about the macports-changes mailing list