diff options
author | danfe <danfe@FreeBSD.org> | 2015-09-05 16:44:40 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-09-05 16:44:40 +0800 |
commit | 781c5c9522da7ff295998eb466b785fde62f54ce (patch) | |
tree | e68fae9d6503657e7e9eb112bbafc6edaf4ee625 /graphics | |
parent | 926b0bfb2b35a955465e91e054de8d1e1ee9b651 (diff) | |
download | freebsd-ports-gnome-781c5c9522da7ff295998eb466b785fde62f54ce.tar.gz freebsd-ports-gnome-781c5c9522da7ff295998eb466b785fde62f54ce.tar.zst freebsd-ports-gnome-781c5c9522da7ff295998eb466b785fde62f54ce.zip |
Fix the build on big-endian architectures (powerpc and hopefully sparc64).
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/grx/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/grx/Makefile b/graphics/grx/Makefile index d60f9c76e438..090ca8358745 100644 --- a/graphics/grx/Makefile +++ b/graphics/grx/Makefile @@ -57,10 +57,6 @@ IGNORE= PNG support requires ZLIB support CONFIGURE_ARGS+=--enable-x86_64 .endif -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - post-patch: @${GREP} -ERl '<(malloc|alloca)\.h>' ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -Ee 's|<(malloc\|alloca)\.h>|<stdlib.h>|' @@ -72,6 +68,8 @@ post-patch: s|-m64|| ; \ s|-m32||' \ ${WRKSRC}/makedefs.grx + @${REINPLACE_CMD} -e '/_GR_swap32u/s|length|numchars|' \ + ${WRKSRC}/src/fonts/fdv_raw.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgrx20X.so |