mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
- Unbreak on sparc64 [*]
- Fix a small harmless typo - Utilize USE_DOS2UNIX - Remove no-op USE_REINPLACE Thanks to: philip for sparc64 box access [*]
This commit is contained in:
parent
3ccaa1333f
commit
f3e5234550
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157949
1 changed files with 4 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue