summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/dyncall/Makefile2
-rw-r--r--devel/dyncall/files/patch-configure11
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"