[107956] trunk/dports/tex/texlive-bin/Portfile
dports at macports.org
dports at macports.org
Tue Jul 9 15:03:15 PDT 2013
Revision: 107956
https://trac.macports.org/changeset/107956
Author: dports at macports.org
Date: 2013-07-09 15:03:15 -0700 (Tue, 09 Jul 2013)
Log Message:
-----------
texlive-bin: set OBJCXX and OBJCXXFLAGS so that we're
UsingTheRightCompiler (#39683, #39684) and to universal build
(#39682).
These have to be set in build.env as well as configure.env (along with
OBJC/OBJCFLAGS) due to a bug in the texlive makefiles.
Modified Paths:
--------------
trunk/dports/tex/texlive-bin/Portfile
Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile 2013-07-09 21:53:05 UTC (rev 107955)
+++ trunk/dports/tex/texlive-bin/Portfile 2013-07-09 22:03:15 UTC (rev 107956)
@@ -6,6 +6,7 @@
name texlive-bin
version 2013
+revision 1
categories tex
maintainers dports
@@ -174,18 +175,20 @@
}
}
+variant universal {}
configure.cppflags-delete -I${prefix}/include
configure.ldflags-delete -L${prefix}/lib
configure.cppflags-append -isystem${prefix}/include
configure.env-append LIBRARY_PATH=${prefix}/lib
+configure.env-append OBJCXX=${configure.cxx} \
+ OBJCXXFLAGS="${configure.objcflags} [get_canonical_archflags objc]"
# work around bug in texlive makefiles where $OBJC is not recorded
# during configure phase
-pre-build {
- append_list_to_environment_value build "OBJC" ${configure.objc}
- append_list_to_environment_value build "OBJCFLAGS" ${configure.objcflags}
- append_list_to_environment_value build "OBJCFLAGS" ${configure.objc_archflags}
-}
+build.env OBJC=${configure.objc} \
+ OBJCFLAGS="${configure.objcflags} [get_canonical_archflags objc]" \
+ OBJCXX=${configure.cxx} \
+ OBJCXXFLAGS="${configure.objcflags} [get_canonical_archflags objc]"
post-destroot {
# Anything that gets installed into texmf-dist will be installed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130709/77def877/attachment.html>
More information about the macports-changes
mailing list