diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2010-04-28 16:18:12 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2010-04-28 16:18:12 +0000 |
commit | cc103a4c302cb55eec190d8d11f6c75120f65751 (patch) | |
tree | 7417191dcf62a5657b315a6cdd840a7cfa21e0f4 /devel/dyncall | |
parent | Update to 0.10.29. (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=253383
Diffstat (limited to 'devel/dyncall')
-rw-r--r-- | devel/dyncall/Makefile | 2 | ||||
-rw-r--r-- | devel/dyncall/files/patch-configure | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/dyncall/Makefile b/devel/dyncall/Makefile index 9d99db4bdae2..1411dcdfda96 100644 --- a/devel/dyncall/Makefile +++ b/devel/dyncall/Makefile @@ -23,7 +23,7 @@ MAKEFILE= BSDmakefile .include <bsd.port.pre.mk> -.if ${ARCH} == "sparc64" || ${ARCH} == "ia64" || ${ARCH} == "powerpc" +.if ${ARCH} == "sparc64" || ${ARCH} == "ia64" BROKEN= Does not install (unsupported architecture) .endif diff --git a/devel/dyncall/files/patch-configure b/devel/dyncall/files/patch-configure new file mode 100644 index 000000000000..8db74153d78f --- /dev/null +++ b/devel/dyncall/files/patch-configure @@ -0,0 +1,11 @@ +--- 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" |