From 60886ad035e562a53961485ea3235a85c27289d2 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 21 Aug 2004 15:58:14 +0000 Subject: Fix build on 64bit platforms --- games/xgospel/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/xgospel/Makefile b/games/xgospel/Makefile index aa4b6659c924..2539bbd6bef6 100644 --- a/games/xgospel/Makefile +++ b/games/xgospel/Makefile @@ -17,14 +17,16 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d USE_XLIB= yes USE_XPM= yes GNU_CONFIGURE= yes +USE_REINPLACE= yes CONFIGURE_ARGS= --with-x --with-xpm --with-xaw3d .include -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif +post-patch: + ${REINPLACE_CMD} -e "s,#ifndef _POSIX_SOURCE,#if 0," \ + ${WRKSRC}/connect.c ${WRKSRC}/relay.c ${WRKSRC}/relog.c \ + ${WRKSRC}/rport.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/relay ${PREFIX}/bin -- cgit v1.2.3