You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
p7zip: Ensure correct compilers are used.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@65040 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -28,6 +28,10 @@ patchfiles patch-install.sh.diff
|
||||
|
||||
configure {
|
||||
copy -force ${worksrcpath}/makefile.macosx_32bits ${worksrcpath}/makefile.machine
|
||||
reinplace "s|CXX=c++ |CXX=${configure.cxx} |g" \
|
||||
${worksrcpath}/makefile.machine
|
||||
reinplace "s|CC=cc |CC=${configure.cc} |g" \
|
||||
${worksrcpath}/makefile.machine
|
||||
if {[variant_isset universal]} {
|
||||
reinplace "s|\$(LOCAL_FLAGS)|${configure.universal_cflags} \$(LOCAL_FLAGS)|g" \
|
||||
${worksrcpath}/makefile.machine
|
||||
|
||||
Reference in New Issue
Block a user