aboutsummaryrefslogtreecommitdiff
path: root/archivers/dzip
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-03-22 09:56:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-03-22 09:56:34 +0000
commitf3e5234550c058a8bc48ed4daf6eead88404413c (patch)
treeae74ecb3ef3a4c9e808e683db1501c57ff738106 /archivers/dzip
parent3ccaa1333f0be9019f6f15b26ae60d0a7060880b (diff)
downloadports-f3e5234550c058a8bc48ed4daf6eead88404413c.tar.gz
ports-f3e5234550c058a8bc48ed4daf6eead88404413c.zip
- Unbreak on sparc64 [*]
- Fix a small harmless typo - Utilize USE_DOS2UNIX - Remove no-op USE_REINPLACE Thanks to: philip for sparc64 box access [*]
Notes
Notes: svn path=/head/; revision=157949
Diffstat (limited to 'archivers/dzip')
-rw-r--r--archivers/dzip/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/archivers/dzip/Makefile b/archivers/dzip/Makefile
index 026aebfb9a9d..6b5c45bc80cd 100644
--- a/archivers/dzip/Makefile
+++ b/archivers/dzip/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= File compression utility specializing in Quake demo compression
USE_ZIP= yes
-USE_REINPLACE= yes
+USE_DOS2UNIX= yes
WRKSRC= ${WRKDIR}
MAKEFILE= ${WRKSRC}/Makefile.linux
@@ -24,22 +24,15 @@ ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= "Does not compile on sparc64"
-.endif
-
post-extract: .SILENT
- ${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
${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' ${WRKSRC}/dzip.h
- ${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${WRKSRCK}/${MAKEFILE}
+ ${REINPLACE_CMD} -e 's/) $$(OBJECTS/&:T/' ${MAKEFILE}
+ ${REINPLACE_CMD} '21d;23d' ${WRKSRC}/dzipcon.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>