[68832] trunk/dports/devel/libmcs

ryandesign at macports.org ryandesign at macports.org
Tue Jun 15 00:31:27 PDT 2010


Revision: 68832
          http://trac.macports.org/changeset/68832
Author:   ryandesign at macports.org
Date:     2010-06-15 00:31:24 -0700 (Tue, 15 Jun 2010)
Log Message:
-----------
libmcs: fix library install_name and versions; see #25257

Modified Paths:
--------------
    trunk/dports/devel/libmcs/Portfile

Added Paths:
-----------
    trunk/dports/devel/libmcs/files/
    trunk/dports/devel/libmcs/files/patch-m4-buildsys.m4.diff

Modified: trunk/dports/devel/libmcs/Portfile
===================================================================
--- trunk/dports/devel/libmcs/Portfile	2010-06-15 07:28:54 UTC (rev 68831)
+++ trunk/dports/devel/libmcs/Portfile	2010-06-15 07:31:24 UTC (rev 68832)
@@ -6,6 +6,7 @@
 
 name                    libmcs
 version                 0.7.1
+revision                1
 categories              devel
 maintainers             nodetwo.com:jdunn
 license                 GPLv3
@@ -31,11 +32,16 @@
     sha1    683f0c62aa8374f5ec1bf32e5b778a82e638ae21 \
     rmd160  6c8e2f5afc3c4dd1c951f73131cd5d3c6751c8a0
 
+patchfiles \
+    patch-m4-buildsys.m4.diff
+
 post-patch {
     # Remove terminal color sequences so the log is readable.
     reinplace {s|\\033[^m]*m||g} ${worksrcpath}/buildsys.mk.in
 }
 
+use_autoconf            yes
+
 # These are just temporary since i dont want to install all the dependencies.
 configure.args \
     --disable-gconf \

Added: trunk/dports/devel/libmcs/files/patch-m4-buildsys.m4.diff
===================================================================
--- trunk/dports/devel/libmcs/files/patch-m4-buildsys.m4.diff	                        (rev 0)
+++ trunk/dports/devel/libmcs/files/patch-m4-buildsys.m4.diff	2010-06-15 07:31:24 UTC (rev 68832)
@@ -0,0 +1,18 @@
+--- m4/buildsys.m4.orig	2010-06-13 12:23:13.000000000 -0500
++++ m4/buildsys.m4	2010-06-14 22:09:03.000000000 -0500
+@@ -57,13 +57,13 @@
+ 			AC_MSG_RESULT(Darwin)
+ 			LIB_CPPFLAGS='-DPIC'
+ 			LIB_CFLAGS='-fPIC'
+-			LIB_LDFLAGS='-dynamiclib -flat_namespace'
++			LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR} -install_name ${libdir}/${LIB}'
+ 			LIB_PREFIX='lib'
+ 			LIB_SUFFIX='.dylib'
+ 			LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
+ 			PLUGIN_CPPFLAGS='-DPIC'
+ 			PLUGIN_CFLAGS='-fPIC'
+-			PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
++			PLUGIN_LDFLAGS='-bundle -undefined dynamic_lookup'
+ 			PLUGIN_SUFFIX='.impl'
+ 			INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
+ 			UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100615/150424b2/attachment.html>


More information about the macports-changes mailing list