diff options
author | danfe <danfe@FreeBSD.org> | 2005-10-25 18:18:25 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-10-25 18:18:25 +0800 |
commit | 8bb6e08d41dca14c3c8516710ca607064dadd109 (patch) | |
tree | 0efd439c983cb46a90bf124a33860bf9f7c6da22 /archivers/dzip | |
parent | 5d9083c657631400d9a6bac0ec25f04b7b15e26d (diff) | |
download | freebsd-ports-gnome-8bb6e08d41dca14c3c8516710ca607064dadd109.tar.gz freebsd-ports-gnome-8bb6e08d41dca14c3c8516710ca607064dadd109.tar.zst freebsd-ports-gnome-8bb6e08d41dca14c3c8516710ca607064dadd109.zip |
Unbreak on sparc64.
Tested on: panther
Diffstat (limited to 'archivers/dzip')
-rw-r--r-- | archivers/dzip/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/archivers/dzip/Makefile b/archivers/dzip/Makefile index 11cdb8e07cc9..1c0dcaa5bd10 100644 --- a/archivers/dzip/Makefile +++ b/archivers/dzip/Makefile @@ -24,21 +24,16 @@ ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" -.endif - post-extract: @${FIND} -E ${WRKDIR} -type f -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' @${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \ -e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \ - ${WRKSRC}/dzip.h ${WRKSRC}/conmain.c ${WRKSRC}/dzip.h + ${WRKSRC}/dzip.h ${WRKSRC}/conmain.c + @${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' ${WRKSRC}/dzip.h @${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${WRKSRCK}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> |