[52293] trunk/dports/security/cyrus-sasl2

landonf at macports.org landonf at macports.org
Sat Jun 13 10:37:10 PDT 2009


Revision: 52293
          http://trac.macports.org/changeset/52293
Author:   landonf at macports.org
Date:     2009-06-13 10:37:09 -0700 (Sat, 13 Jun 2009)
Log Message:
-----------
Fix build for 10.6

Modified Paths:
--------------
    trunk/dports/security/cyrus-sasl2/Portfile

Added Paths:
-----------
    trunk/dports/security/cyrus-sasl2/files/
    trunk/dports/security/cyrus-sasl2/files/patch-config_ltconfig

Modified: trunk/dports/security/cyrus-sasl2/Portfile
===================================================================
--- trunk/dports/security/cyrus-sasl2/Portfile	2009-06-13 17:02:19 UTC (rev 52292)
+++ trunk/dports/security/cyrus-sasl2/Portfile	2009-06-13 17:37:09 UTC (rev 52293)
@@ -28,6 +28,8 @@
 
 default_variants	+kerberos
 
+patchfiles		patch-config_ltconfig
+
 configure.args \
 		--mandir=${prefix}/share/man \
 		--with-openssl=${prefix} \

Added: trunk/dports/security/cyrus-sasl2/files/patch-config_ltconfig
===================================================================
--- trunk/dports/security/cyrus-sasl2/files/patch-config_ltconfig	                        (rev 0)
+++ trunk/dports/security/cyrus-sasl2/files/patch-config_ltconfig	2009-06-13 17:37:09 UTC (rev 52293)
@@ -0,0 +1,20 @@
+--- config/ltconfig.orig	2009-06-11 17:23:23.000000000 -0700
++++ config/ltconfig	2009-06-11 17:23:46.000000000 -0700
+@@ -1374,7 +1374,7 @@
+ 
+   darwin[15]* | rhapsody*)
+     allow_undefined_flag='-undefined error'
+-    archive_cmds='$CC $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    archive_cmds='$CC $(test x$module = xyes && echo -dynamiclib || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib'
+     hardcode_direct=yes
+@@ -1385,7 +1385,7 @@
+   # Mac OS X v10.2 uses bash for /bin/sh instead of zsh, and the quoting syntax is incompatible
+   darwin*)
+     allow_undefined_flag='-undefined error'
+-    archive_cmds='$CC $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts $(test x$module != xyes && echo -install_name $rpath/$soname $tmp_verstring)'
++    archive_cmds='$CC $(test x$module = xyes && echo -dynamiclib || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts $(test x$module != xyes && echo -install_name $rpath/$soname $tmp_verstring)'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib'
+     hardcode_direct=yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090613/806939e2/attachment.html>


More information about the macports-changes mailing list