aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-12-28 14:38:35 +0800
committerlinimon <linimon@FreeBSD.org>2011-12-28 14:38:35 +0800
commit212788b5f53bf1dbabb119f5c500805cfb624d91 (patch)
treefbf6e4acffde2490b1b1087235f589169d93d094
parent905121198d782f9ac35188821d021f9223ec6403 (diff)
downloadfreebsd-ports-gnome-212788b5f53bf1dbabb119f5c500805cfb624d91.tar.gz
freebsd-ports-gnome-212788b5f53bf1dbabb119f5c500805cfb624d91.tar.zst
freebsd-ports-gnome-212788b5f53bf1dbabb119f5c500805cfb624d91.zip
Attempt to fix build on powerpc (32-bit).
Hat: portmgr
-rw-r--r--math/saga/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 63128d27d868..4202b14e083a 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -88,7 +88,7 @@ post-patch:
${WRKSRC}/configure; do \
${REINPLACE_CMD} -e's|wx-config |${WX_CONFIG} |g' "$$f"; \
done
-.if ${ARCH} == "i386"
+.if ${ARCH} == "i386" || ${ARCH} == "powerpc"
@${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \
${WRKSRC}/src/saga_core/saga_api/api_core.h
.endif