diff options
-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> |