Ticket #31349: Portfile.diff
File Portfile.diff, 1.3 KB (added by ccorn@…, 13 years ago) |
---|
-
Portfile
21 21 sha256 13b12a3b51bf467ffd151bbe2fec4a65b2b7b44333035cce1fbac87c4ab38c33 22 22 23 23 distname live.${version} 24 universal_variant no25 24 worksrcdir live 25 # Configure settings remain in installed Makefiles, so be minimalistic 26 configure.ccache no 27 configure.distcc no 28 patchfiles patch-config.macosx.diff 29 pre-configure { 30 set archflags [get_canonical_archflags] 31 reinplace "s|@ARCHFLAGS@|${archflags}|g 32 s|@CC@|${configure.cc}|g 33 s|@CXX@|${configure.cxx}|g 34 s|@CPPFLAGS@|${configure.cppflags}|g 35 s|@CFLAGS@|${configure.cflags}|g 36 s|@CXXFLAGS@|${configure.cxxflags}|g 37 s|@LDFLAGS@|${configure.ldflags}|g" \ 38 ${worksrcpath}/config.macosx 39 } 26 40 configure.cmd ./genMakefiles 27 41 configure.pre_args {} 28 29 build.args-append C_COMPILER='${configure.cc} [get_canonical_archflags]' \ 30 CPLUSPLUS_COMPILER='${configure.cxx} [get_canonical_archflags]' \ 31 LINK='${configure.cxx} [get_canonical_archflags] -o ' 32 42 configure.universal_args-delete --disable-dependency-tracking 33 43 destroot { 34 44 xinstall -d ${destroot}${prefix}/lib 35 45 file copy ${workpath}/live ${destroot}${prefix}/lib/