[122488] trunk/dports/graphics/Coin
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 22 20:31:30 PDT 2014
Revision: 122488
https://trac.macports.org/changeset/122488
Author: ryandesign at macports.org
Date: 2014-07-22 20:31:30 -0700 (Tue, 22 Jul 2014)
Log Message:
-----------
Coin: fix install_name of Inventor.framework when +aqua variant is used (#44181)
Modified Paths:
--------------
trunk/dports/graphics/Coin/Portfile
Added Paths:
-----------
trunk/dports/graphics/Coin/files/framework-prefix.patch
Modified: trunk/dports/graphics/Coin/Portfile
===================================================================
--- trunk/dports/graphics/Coin/Portfile 2014-07-23 03:30:25 UTC (rev 122487)
+++ trunk/dports/graphics/Coin/Portfile 2014-07-23 03:31:30 UTC (rev 122488)
@@ -6,7 +6,7 @@
bitbucket.setup Coin3D coin 3.1.3 Coin-
name Coin
-revision 4
+revision 5
license BSD
description cross platform C++ OpenGL scene graph library
long_description Coin is a high-level 3D graphics library with a \
@@ -48,6 +48,8 @@
configure.args-append --disable-framework --enable-darwin-x11
variant aqua description {Install as an OS X framework without X11.} {
+ patchfiles-append framework-prefix.patch
+
configure.args-replace --disable-framework --with-framework-prefix=${frameworks_dir}
configure.args-replace --enable-darwin-x11 --without-x
Added: trunk/dports/graphics/Coin/files/framework-prefix.patch
===================================================================
--- trunk/dports/graphics/Coin/files/framework-prefix.patch (rev 0)
+++ trunk/dports/graphics/Coin/files/framework-prefix.patch 2014-07-23 03:31:30 UTC (rev 122488)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2010-03-02 07:20:09.000000000 -0600
++++ src/Makefile.in 2014-06-28 18:22:42.000000000 -0500
+@@ -2313,7 +2313,7 @@
+
+ @MAC_FRAMEWORK_TRUE at install-data-local: install-exec-am
+ @MAC_FRAMEWORK_TRUE@ cd $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/Current && ln -sf Libraries/libCoin.dylib $(MAC_FRAMEWORK_NAME) && cd -; \
+- at MAC_FRAMEWORK_TRUE@ cd $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework && ln -sf Versions/Current/$(MAC_FRAMEWORK_NAME) $(MAC_FRAMEWORK_NAME) && install_name_tool -id $(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/$(MAC_FRAMEWORK_NAME) $(MAC_FRAMEWORK_NAME) && cd -;
++ at MAC_FRAMEWORK_TRUE@ cd $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework && ln -sf Versions/Current/$(MAC_FRAMEWORK_NAME) $(MAC_FRAMEWORK_NAME) && install_name_tool -id $(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/$(MAC_FRAMEWORK_NAME) $(MAC_FRAMEWORK_NAME) && cd -;
+ @MAC_FRAMEWORK_FALSE at install-data-local:
+ @MAC_FRAMEWORK_FALSE@ @basename="coin at COIN_MAJOR_VERSION@@SUFFIX@"; \
+ @MAC_FRAMEWORK_FALSE@ for ext in lib; do \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140722/bdcd7ac0/attachment.html>
More information about the macports-changes
mailing list