Revision: 140010 https://trac.macports.org/changeset/140010 Author: takeshi@macports.org Date: 2015-09-06 06:10:27 -0700 (Sun, 06 Sep 2015) Log Message: ----------- fpc: add support for i386 and PowerPC machines Modified Paths: -------------- trunk/dports/lang/fpc/Portfile Modified: trunk/dports/lang/fpc/Portfile =================================================================== --- trunk/dports/lang/fpc/Portfile 2015-09-06 00:49:54 UTC (rev 140009) +++ trunk/dports/lang/fpc/Portfile 2015-09-06 13:10:27 UTC (rev 140010) @@ -47,7 +47,18 @@ } post-destroot { - ln -s ${prefix}/libexec/${name}/lib/${name}/${version}/ppcx64 ${destroot}${prefix}/libexec/${name}/bin + switch ${build_arch} { + "x86_64" { + set b "ppcx64" + } + "i386" { + set b "ppc386" + } + default { + set b "ppcppc" + } + } + ln -s ${prefix}/libexec/${name}/lib/${name}/${version}/${b} ${destroot}${prefix}/libexec/${name}/bin xinstall -d ${destroot}${prefix}/libexec/${name}/etc system " ${destroot}${prefix}/libexec/${name}/bin/fpcmkcfg \
participants (1)
-
takeshi@macports.org