[47510] trunk/dports/editors/elvis/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Feb 28 13:04:07 PST 2009
Revision: 47510
http://trac.macports.org/changeset/47510
Author: jeremyhu at macports.org
Date: 2009-02-28 13:04:07 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
elvis: Remove the x11 variant since it fails to compile
Modified Paths:
--------------
trunk/dports/editors/elvis/Portfile
Modified: trunk/dports/editors/elvis/Portfile
===================================================================
--- trunk/dports/editors/elvis/Portfile 2009-02-28 20:55:44 UTC (rev 47509)
+++ trunk/dports/editors/elvis/Portfile 2009-02-28 21:04:07 UTC (rev 47510)
@@ -16,11 +16,23 @@
http://www.fh-wedel.de/pub/elvis/
checksums md5 6831b8df3e4a530395e66c2889783752
+
+universal_variant no
configure.args --without-x
-variant x11 { depends_lib port:xorg-libs
- configure.args-delete --without-x
- configure.args-append --with-x }
+# The x11 variant is seriously borked and needs patching to compile
+#variant x11 { depends_lib port:xorg-libs
+# configure.args-delete --without-x
+# configure.args-append --with-x
+#
+# if { [file exists ${prefix}/lib/libX11.dylib]} {
+# configure.args-append --x-includes=${prefix}/include --x-libraries=${prefix}/lib
+# } else {
+# configure.args-append --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
+# }
+#
+# build.args-append CC="gcc -I${prefix}/include `${prefix}/bin/freetype-config --cflags`"
+#}
pre-destroot {
reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile
reinplace "s|sh instman.sh|MANPATH=${destroot}${prefix}/share/man sh instman.sh|" ${worksrcpath}/Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090228/3e34dc52/attachment.html>
More information about the macports-changes
mailing list