[143666] trunk/dports/net/net-snmp/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Dec 17 01:56:57 PST 2015


Revision: 143666
          https://trac.macports.org/changeset/143666
Author:   ryandesign at macports.org
Date:     2015-12-17 01:56:57 -0800 (Thu, 17 Dec 2015)
Log Message:
-----------
net-snmp: use perl5.22

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

Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile	2015-12-17 09:33:49 UTC (rev 143665)
+++ trunk/dports/net/net-snmp/Portfile	2015-12-17 09:56:57 UTC (rev 143666)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               perl5 1.0
 
 name                    net-snmp
 version                 5.7.3
-revision                1
+revision                2
 categories              net
 license                 BSD
 platforms               darwin
@@ -26,10 +27,10 @@
 checksums               rmd160  c5cf54d5723ee417e07f1f9fa3936aef505104a2 \
                         sha256  12ef89613c7707dc96d13335f153c1921efc9d61d3708ef09f3fc4a7014fb4f0
 
-set perl_version        5.16
+perl5.branches          5.22
 
 depends_lib             port:bzip2 \
-                        port:perl${perl_version} \
+                        port:perl${perl5.major} \
                         port:zlib
 
 post-extract {
@@ -53,7 +54,7 @@
 patchfiles-append       patch-include-net-snmp-system-darwin18.h.diff
 patchfiles-append       patch-Makefile.in.diff
 
-configure.env-append    PERLPROG=${prefix}/bin/perl${perl_version}
+configure.env-append    PERLPROG=${perl5.bin}
 
 configure.args          --with-defaults \
                         --with-sys-contact=nobody at no.where \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151217/ae4bda11/attachment-0001.html>


More information about the macports-changes mailing list