freebsd-ports/devel/dyncall/files/patch-configure
Beat Gaetzi cc103a4c30 - Fix build on PowerPC
PR:		ports/146043
Submitted by:	Andreas Tobler <andreast-list AT fgznet.ch>
Approved by:	Tassilo Philipp <tphilipp AT potion-studios.com> (maintainer, via private mail)
2010-04-28 16:18:12 +00:00

11 lines
665 B
Text

--- configure.orig 2010-02-01 20:28:54.000000000 +0100
+++ configure 2010-04-28 17:51:33.000000000 +0200
@@ -145,7 +145,7 @@
elif [ "$ARCH" = "amd64" ] || [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "x64" ]; then
CONFIG_ARCH="x64"
fi
- elif [ "$ARCH" = "Power Macintosh" ] || [ "$ARCH" = "ppc" ] || [ "$ARCH" = "macppc" ]; then
+ elif [ "$ARCH" = "Power Macintosh" ] || [ "$ARCH" = "ppc" ] || [ "$ARCH" = "macppc" ] || [ "$ARCH" = "powerpc" ]; then
CONFIG_ARCH="ppc32"
elif [ "$ARCH" = "x86" ] || [ "$ARCH" = "i386" ] || [ "$ARCH" = "i486" ] || [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "i86pc" ]; then
CONFIG_ARCH="x86"