Files
macports-ports/emulators/vpcs/files/patch-arch-ppc-fix.diff
lasticandKen ca565191ee vpcs: new port
PC emulator particularly of use
with the Cisco dynamips emulator
2019-03-02 18:51:25 -08:00

22 lines
501 B
Diff

--- mk.sh.origin 2014-11-21 17:19:24.000000000 +0100
+++ mk.sh 2019-03-01 17:55:25.000000000 +0100
@@ -64,6 +64,9 @@
if [ $os = "Darwin" ]; then
CCOPT=$CCOPT""
+ if [ $arch = "powerpc" ]; then
+ sed -i "" 's/CPUTYPE=i386/CPUTYPE=ppc/' Makefile.osx
+ fi
fi
export CCOPT
@@ -78,7 +81,7 @@
make -f Makefile.cygwin ${MKOPT}
;;
Darwin)
- make -f Makefile.osx ${MKOPT}
+ make -f ./Makefile.osx ${MKOPT}
;;
*)
echo "Not support"