From ceae34fcbe31c63854c3b1d14f041a3cef0d3673 Mon Sep 17 00:00:00 2001 From: pav Date: Wed, 26 Jan 2005 16:03:52 +0000 Subject: - Unbreak on sparc64 - Portlint PR: ports/76632 Submitted by: Johan van Selst --- games/bsp/Makefile | 8 +------- games/bsp/files/patch-endian.c | 11 +++++++++++ games/bsp/pkg-plist | 4 ++-- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 games/bsp/files/patch-endian.c (limited to 'games/bsp') diff --git a/games/bsp/Makefile b/games/bsp/Makefile index 505000db656b..fc0b6f676726 100644 --- a/games/bsp/Makefile +++ b/games/bsp/Makefile @@ -17,12 +17,6 @@ COMMENT= Node builder for Doom GNU_CONFIGURE= yes USE_REINPLACE= yes -.include - -.if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" -.endif - post-patch: ${REINPLACE_CMD} -e "s,-O2 -fomit-frame-pointer -ffast-math,${CFLAGS}," \ ${WRKSRC}/configure @@ -34,4 +28,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include +.include diff --git a/games/bsp/files/patch-endian.c b/games/bsp/files/patch-endian.c new file mode 100644 index 000000000000..1740538e20d9 --- /dev/null +++ b/games/bsp/files/patch-endian.c @@ -0,0 +1,11 @@ +--- endian.c Mon Jan 24 21:25:33 2005 ++++ endian.c Mon Jan 24 21:25:09 2005 +@@ -195,7 +195,7 @@ + { + Verbose("Doing endianness correction... "); + ConvertVertex(); +- ConvertLineDef(); ++ ConvertLinedef(); + ConvertSidedef(); + ConvertSector(); + ConvertPseg(); diff --git a/games/bsp/pkg-plist b/games/bsp/pkg-plist index ef955435f9ab..f80953b76e6a 100644 --- a/games/bsp/pkg-plist +++ b/games/bsp/pkg-plist @@ -1,3 +1,3 @@ bin/bsp -%%PORTDOCS%%share/doc/bsp/README -%%PORTDOCS%%@dirrm share/doc/bsp +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit