[MacPorts] #35871: Aquaterm can't be installed
MacPorts
noreply at macports.org
Tue Aug 28 03:07:21 PDT 2012
#35871: Aquaterm can't be installed
-----------------------------------+----------------------------------------
Reporter: jblumenkopf@… | Owner: g5pw@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: aquaterm
-----------------------------------+----------------------------------------
Comment(by mojca.miklavec.lists@…):
I have 10.7 with Xcode 4.3.2 and on that one AquaTerm +universal
compilation breaks (it actually goes crazy). I have another one with Xcode
4.3.3 and on that one it works. It also works on 10.6 (with I-forgot-
which-xcode-version).
I suspect that the problem might be in Xcode's inability to interpret
INSTALL_PATH properly. It works when building for x86_64 only, but fails
when building universal. No clue why.
The following patch helped me overcome the problem:
{{{
--- Portfile.olg
+++ Portfile
@@ -31,6 +31,11 @@ xcode.destroot.settings
LOCAL_APPS_DIR=${applications_dir} LOCAL_FRAMEWORKS_DIR=
xcode.destroot.type mixed
post-patch {
+ reinplace "s|$\(LOCAL_FRAMEWORKS_DIR\)|${frameworks_dir}|" \
+ ${worksrcpath}/aquaterm/AquaTerm.xcodeproj/project.pbxproj
+ reinplace "s|$\(LOCAL_APPS_DIR\)|${applications_dir}|" \
+ ${worksrcpath}/aquaterm/AquaTerm.xcodeproj/project.pbxproj
+
# Try to open the right version of AquaTerm.app.
# (If incompatible version is installed in /Applications,
# we need to make sure that the one from MacPorts is found first.)
}}}
... but it doesn't mean I'm happy with the patch. I would really like to
know what is going on.
--
Ticket URL: <https://trac.macports.org/ticket/35871#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list