[91830] trunk/dports/aqua/LyX/Portfile
snc at macports.org
snc at macports.org
Wed Apr 11 08:23:35 PDT 2012
Revision: 91830
https://trac.macports.org/changeset/91830
Author: snc at macports.org
Date: 2012-04-11 08:23:34 -0700 (Wed, 11 Apr 2012)
Log Message:
-----------
LyX: build with clang, #32109
Modified Paths:
--------------
trunk/dports/aqua/LyX/Portfile
Modified: trunk/dports/aqua/LyX/Portfile
===================================================================
--- trunk/dports/aqua/LyX/Portfile 2012-04-11 14:40:38 UTC (rev 91829)
+++ trunk/dports/aqua/LyX/Portfile 2012-04-11 15:23:34 UTC (rev 91830)
@@ -7,6 +7,7 @@
name LyX
conflicts LyX1
version 2.0.3
+revision 2
set branch [join [lrange [split ${version} .] 0 1] .]
categories aqua
license GPL-2+
@@ -36,10 +37,11 @@
checksums rmd160 fcb3a09626fb5dc49ae25654b5f98e9989d5ff00 \
sha256 4e1c993754acfb14d5e0f2bd2521fb6686d08e0656ec6e5fde0406c285a05ac8
-patchfiles patch-configure.diff
+patchfiles patch-configure.diff \
+ patch-clang.diff
-if {${configure.compiler} == "clang"} {
- configure.compiler llvm-gcc-4.2
+post-patch {
+ reinplace s|||g ${worksrcpath}
}
configure.pre_args --prefix=${applications_dir}/LyX.app
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120411/c62e908d/attachment-0001.html>
More information about the macports-changes
mailing list