[104256] trunk/dports/security/voms
ryandesign at macports.org
ryandesign at macports.org
Fri Mar 22 02:37:58 PDT 2013
Revision: 104256
https://trac.macports.org/changeset/104256
Author: ryandesign at macports.org
Date: 2013-03-22 02:37:58 -0700 (Fri, 22 Mar 2013)
Log Message:
-----------
voms: fix build on OS X 10.5 Leopard (#37957); fix autoreconf failure with automake 1.13 and later
Modified Paths:
--------------
trunk/dports/security/voms/Portfile
Added Paths:
-----------
trunk/dports/security/voms/files/
trunk/dports/security/voms/files/patch-automake-1.13.diff
trunk/dports/security/voms/files/patch-ipv6sock-posix.diff
Modified: trunk/dports/security/voms/Portfile
===================================================================
--- trunk/dports/security/voms/Portfile 2013-03-22 08:50:20 UTC (rev 104255)
+++ trunk/dports/security/voms/Portfile 2013-03-22 09:37:58 UTC (rev 104256)
@@ -18,6 +18,9 @@
checksums rmd160 5d6f8ba7aba00173cb22149d7b867ec4684e7435 \
sha256 aab51fab8ad4a89fb8dc68dcfc4e44a9eab0542bf437ec3bc330628830ba8633
+patchfiles patch-automake-1.13.diff \
+ patch-ipv6sock-posix.diff
+
depends_build port:autoconf \
port:automake \
port:libtool
@@ -45,11 +48,3 @@
test.run yes
test.target check
-
-# https://github.com/italiangrid/voms/issues/2
-if {${os.platform} == "darwin" && ${os.major} < 10} {
- pre-fetch {
- ui_error "${name} ${version} requires OS X 10.6 or greater."
- return -code error "incompatible OS X version"
- }
-}
Added: trunk/dports/security/voms/files/patch-automake-1.13.diff
===================================================================
--- trunk/dports/security/voms/files/patch-automake-1.13.diff (rev 0)
+++ trunk/dports/security/voms/files/patch-automake-1.13.diff 2013-03-22 09:37:58 UTC (rev 104256)
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2012-10-27 13:50:06.000000000 +0200
++++ configure.ac 2013-02-06 11:41:23.765972707 +0100
+@@ -105,7 +105,7 @@
+ AC_SUBST(with_vomsuser)
+ AC_PARSER_GEN
+
+-AM_CONFIG_HEADER([src/autogen/config.h])
++AC_CONFIG_HEADERS([src/autogen/config.h])
+
+ if test "x$build_cpp_api" = "xyes" -o "x$build_interfaces" = "xyes"; then
+ # both C and CPP
Added: trunk/dports/security/voms/files/patch-ipv6sock-posix.diff
===================================================================
--- trunk/dports/security/voms/files/patch-ipv6sock-posix.diff (rev 0)
+++ trunk/dports/security/voms/files/patch-ipv6sock-posix.diff 2013-03-22 09:37:58 UTC (rev 104256)
@@ -0,0 +1,24 @@
+--- src/socklib/ipv6sock.cc.orig 2012-10-27 13:50:06.000000000 +0200
++++ src/socklib/ipv6sock.cc 2013-02-06 14:56:03.000000000 +0100
+@@ -23,6 +23,12 @@
+ *
+ *********************************************************************/
+
++#include "config.h"
++
++#ifndef _POSIX_SOURCE
++# define _POSIX_SOURCE 1
++#endif
++
+ #include <sys/types.h>
+ #include <netdb.h>
+ #include <sys/socket.h>
+@@ -30,6 +36,8 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#include <strings.h>
++
+ extern "C" {
+ #include "log.h"
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130322/c081f2fb/attachment.html>
More information about the macports-changes
mailing list