[103962] trunk/dports/net/openvpn2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Mar 10 19:21:21 PDT 2013
Revision: 103962
https://trac.macports.org/changeset/103962
Author: ryandesign at macports.org
Date: 2013-03-10 19:21:21 -0700 (Sun, 10 Mar 2013)
Log Message:
-----------
openvpn2: fix build on Leopard and earlier (#38355)
Modified Paths:
--------------
trunk/dports/net/openvpn2/Portfile
Modified: trunk/dports/net/openvpn2/Portfile
===================================================================
--- trunk/dports/net/openvpn2/Portfile 2013-03-11 02:15:50 UTC (rev 103961)
+++ trunk/dports/net/openvpn2/Portfile 2013-03-11 02:21:21 UTC (rev 103962)
@@ -43,5 +43,11 @@
xinstall -m 644 -W ${worksrcpath} AUTHORS ${docdir}
}
+if {${os.platform} == "darwin" && ${os.major} <= 9} {
+ post-patch {
+ reinplace "s|security/pam_appl.h|pam/pam_appl.h|g" ${worksrcpath}/src/plugins/auth-pam/auth-pam.c
+ }
+}
+
livecheck.url ${homepage}/download.html
livecheck.regex openvpn-(\[0-9.\]*).tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130310/9812ee57/attachment.html>
More information about the macports-changes
mailing list