diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-10-25 10:18:25 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-10-25 10:18:25 +0000 |
commit | a04f9237ed786aecc64d26f9554224b00f1e2b3f (patch) | |
tree | 0f16696a192851e1d43a3851d69c8d80c565fc4d /archivers/dzip | |
parent | Add p5-XML-Driver-HTML 0.06, Perl SAX Driver for non wellformed HTML. (diff) |
Unbreak on sparc64.
Tested on: panther
Notes
Notes:
svn path=/head/; revision=146322
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> |