[89983] trunk/dports/textproc/canna/Portfile
takanori at macports.org
takanori at macports.org
Sat Feb 18 04:30:49 PST 2012
Revision: 89983
http://trac.macports.org/changeset/89983
Author: takanori at macports.org
Date: 2012-02-18 04:30:45 -0800 (Sat, 18 Feb 2012)
Log Message:
-----------
canna: IMAKECPP should be set explicitly before calling xmkmf during the configure phase. (workaround to allow building)
Modified Paths:
--------------
trunk/dports/textproc/canna/Portfile
Modified: trunk/dports/textproc/canna/Portfile
===================================================================
--- trunk/dports/textproc/canna/Portfile 2012-02-18 10:49:24 UTC (rev 89982)
+++ trunk/dports/textproc/canna/Portfile 2012-02-18 12:30:45 UTC (rev 89983)
@@ -47,12 +47,19 @@
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Canna.conf
}
-use_xmkmf yes
+#use_xmkmf yes
+depends_build port:imake
# https://trac.macports.org/ticket/31504
if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
}
+
+configure {
+ # IMAKECPP should be set explicitly before calling xmkmf. (quick fix to allow building)
+ system "cd ${worksrcpath} && IMAKECPP=${configure.cpp} xmkmf"
+}
+
build.env-append IMAKECPP="${configure.cpp}"
pre-build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120218/cfcc4066/attachment.html>
More information about the macports-changes
mailing list