aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-21 23:58:14 +0800
committerarved <arved@FreeBSD.org>2004-08-21 23:58:14 +0800
commit6830a545d7195884bbd7e18a1da82a03445a8126 (patch)
tree273ab1e15e226268bdd455f5641dac3717e53474
parent68e0f80145f906dae85b739e7dde79f312ff7f71 (diff)
downloadfreebsd-ports-gnome-6830a545d7195884bbd7e18a1da82a03445a8126.tar.gz
freebsd-ports-gnome-6830a545d7195884bbd7e18a1da82a03445a8126.tar.zst
freebsd-ports-gnome-6830a545d7195884bbd7e18a1da82a03445a8126.zip
Fix build on 64bit platforms
-rw-r--r--games/xgospel/Makefile8
1 files changed, 5 insertions, 3 deletions
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 <bsd.port.pre.mk>
-.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
mitgraph'>* Convert from USE_DOS2UNIX to USES=dos2unixbapt2014-03-071-2/+1 * archivers/zip-ada: Update from version 45 to 46marino2014-02-123-14/+3 * archivers/zip-ada: Convert to stagingmarino2013-11-101-18/+15 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1 * florist-gpl, zip-ada: Add trailing slash for WWW field.marino2013-08-231-1/+1