[46833] trunk/dports/archivers/bzip2/files/patch-Makefile-dylib.diff
mcalhoun at macports.org
mcalhoun at macports.org
Sat Feb 14 08:20:19 PST 2009
Revision: 46833
http://trac.macports.org/changeset/46833
Author: mcalhoun at macports.org
Date: 2009-02-14 08:20:18 -0800 (Sat, 14 Feb 2009)
Log Message:
-----------
bzip2: Links to the built library are needed during testing.
They were removed during r46773 because it seemed they were only needed for installation.
One was restored in r46782.
No revision increase since this only affects testing.
Attempt to fix #18481.
Modified Paths:
--------------
trunk/dports/archivers/bzip2/files/patch-Makefile-dylib.diff
Modified: trunk/dports/archivers/bzip2/files/patch-Makefile-dylib.diff
===================================================================
--- trunk/dports/archivers/bzip2/files/patch-Makefile-dylib.diff 2009-02-14 14:55:57 UTC (rev 46832)
+++ trunk/dports/archivers/bzip2/files/patch-Makefile-dylib.diff 2009-02-14 16:20:18 UTC (rev 46833)
@@ -9,7 +9,7 @@
bzip2: libbz2.a bzip2.o
$(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
-@@ -52,15 +52,22 @@
+@@ -52,15 +52,23 @@
$(RANLIB) libbz2.a ; \
fi
@@ -18,6 +18,7 @@
+ $(CC) -dynamiclib $(OBJS) -o libbz2.__MacPorts_Version__.dylib \
+ -install_name $(PREFIX)/lib/libbz2.__MacPorts_Compatibility_Version__.dylib \
+ -compatibility_version __MacPorts_Compatibility_Version__ -current_version __MacPorts_Version__
++ ln -s libbz2.__MacPorts_Version__.dylib libbz2.__MacPorts_Compatibility_Version__.dylib
+ ln -s libbz2.__MacPorts_Version__.dylib libbz2.dylib
+
check: test
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090214/76d59aab/attachment.html>
More information about the macports-changes
mailing list