[112986] trunk/dports/math/gnudatalanguage/Portfile
takeshi at macports.org
takeshi at macports.org
Wed Nov 6 01:16:22 PST 2013
Revision: 112986
https://trac.macports.org/changeset/112986
Author: takeshi at macports.org
Date: 2013-11-06 01:16:22 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
gnudatalangauge: terminate if port:antlr is installed
Modified Paths:
--------------
trunk/dports/math/gnudatalanguage/Portfile
Modified: trunk/dports/math/gnudatalanguage/Portfile
===================================================================
--- trunk/dports/math/gnudatalanguage/Portfile 2013-11-06 06:02:42 UTC (rev 112985)
+++ trunk/dports/math/gnudatalanguage/Portfile 2013-11-06 09:16:22 UTC (rev 112986)
@@ -58,6 +58,12 @@
reinplace "s|\.\./gshhs|gshhs|" ${worksrcpath}/src/gshhs.cpp
}
+pre-configure {
+ if {[file exists ${prefix}/bin/antlr]} {
+ return -code error "Before installing ${name}, please uninstall (or deactivate) antlr."
+ }
+}
+
configure.args-append -DEIGEN3DIR=${prefix} \
-DFFTW=ON \
-DFFTWDIR=${prefix} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/df2b354f/attachment.html>
More information about the macports-changes
mailing list