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

ryandesign at macports.org ryandesign at macports.org
Thu Mar 5 19:57:49 PST 2015


Revision: 133590
          https://trac.macports.org/changeset/133590
Author:   ryandesign at macports.org
Date:     2015-03-05 19:57:49 -0800 (Thu, 05 Mar 2015)
Log Message:
-----------
whois: use MacPorts perl (#45874)

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

Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile	2015-03-06 03:53:38 UTC (rev 133589)
+++ trunk/dports/net/whois/Portfile	2015-03-06 03:57:49 UTC (rev 133590)
@@ -35,6 +35,10 @@
 
 distfiles                   ${name}_${version}${extract.suffix}
 
+set perl_version            5.16
+
+depends_build               port:perl${perl_version}
+
 depends_lib                 port:gettext \
                             port:libidn \
                             port:libiconv
@@ -76,7 +80,8 @@
                             LOCALEDIR=${prefix}/share/locale
 build.args                  prefix=${prefix} \
                             INCLUDES="${configure.cflags} ${configure.cppflags}" \
-                            LIBS="${configure.ldflags}"
+                            LIBS="${configure.ldflags}" \
+                            PERL=${prefix}/bin/perl${perl_version}
 
 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/20150305/6d4a5f68/attachment.html>


More information about the macports-changes mailing list