[134935] trunk/dports/devel/libcdio/Portfile
ionic at macports.org
ionic at macports.org
Fri Apr 10 22:52:48 PDT 2015
Revision: 134935
https://trac.macports.org/changeset/134935
Author: ionic at macports.org
Date: 2015-04-10 22:52:48 -0700 (Fri, 10 Apr 2015)
Log Message:
-----------
libcdio: insert ugly hack for replacing libtool arguments with real linker arguments.
Modified Paths:
--------------
trunk/dports/devel/libcdio/Portfile
Modified: trunk/dports/devel/libcdio/Portfile
===================================================================
--- trunk/dports/devel/libcdio/Portfile 2015-04-11 05:01:10 UTC (rev 134934)
+++ trunk/dports/devel/libcdio/Portfile 2015-04-11 05:52:48 UTC (rev 134935)
@@ -5,6 +5,7 @@
name libcdio
version 0.93
+revision 1
categories devel
platforms darwin
license GPL-3+
@@ -35,5 +36,14 @@
configure.args --disable-silent-rules
+# This is a hack because libcdio incorrectly registers the detected
+# libiconv linking options *for libtool* in its .pc files.
+# Should probably be handled another way?
+post-configure {
+ foreach pcfile [glob ${worksrcpath}/*.pc] {
+ reinplace -W "${worksrcpath}/lib/pkgconfig" "s/-R/-Wl,-rpath,/g" "${pcfile}"
+ }
+}
+
test.run yes
test.target check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150410/dea49b9c/attachment.html>
More information about the macports-changes
mailing list