aboutsummaryrefslogtreecommitdiff
path: root/games/aestats
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-01-17 14:32:24 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-01-17 14:32:24 +0000
commit3f4750f4d3c0a1a37dfaeaee27bafa7d495795a0 (patch)
treef2687fa0b7bc996bb8c1896be3276697aa31b193 /games/aestats
parentfbfde359af6b2098ba8a4adb3a90736665cf1129 (diff)
downloadports-3f4750f4d3c0a1a37dfaeaee27bafa7d495795a0.tar.gz
ports-3f4750f4d3c0a1a37dfaeaee27bafa7d495795a0.zip
Notes
Diffstat (limited to 'games/aestats')
-rw-r--r--games/aestats/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/aestats/Makefile b/games/aestats/Makefile
index 0f4379856227..2a2ab91d505b 100644
--- a/games/aestats/Makefile
+++ b/games/aestats/Makefile
@@ -12,13 +12,13 @@ COMMENT= Advanced HTML statistics generator for various games
NO_CDROM= Commercial use is prohibited
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
USES= zip
WRKSRC= ${WRKDIR}/${DISTNAME}/Linux-o
LINUXBINDIR= ${WRKSRC}/../Linux-Bin
MAKEFILE= makefile
-MAKE_ARGS= cc=${CC}
+MAKE_ARGS= cc="${CC} -m32"
post-extract: .SILENT
${CP} ${FILESDIR}/fbsd_stub.c ${WRKSRC}
@@ -30,7 +30,7 @@ post-extract: .SILENT
# us Linux .o files instead. With some hacking, we can build native FreeBSD
# executables from those .o files.
pre-build:
- cd ${WRKSRC} && ${CC} ${CFLAGS} -c fbsd_stub.c
+ cd ${WRKSRC} && ${CC} -m32 ${CFLAGS} -c fbsd_stub.c
${OBJCOPY} --redefine-sym stdout=__stdoutp ${WRKSRC}/aespages.o
${OBJCOPY} --redefine-sym stdout=__stdoutp ${WRKSRC}/paessubs.o