aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake2-relay/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2-relay/Makefile')
-rw-r--r--games/quake2-relay/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/quake2-relay/Makefile b/games/quake2-relay/Makefile
index 0593f89d62cb..b68eab0168f9 100644
--- a/games/quake2-relay/Makefile
+++ b/games/quake2-relay/Makefile
@@ -22,15 +22,14 @@ MAKE_ARGS= MODE=release OBJ_DIR=. OUT_DIR=. Q2MODULE=game.so \
WRKSRC= ${WRKDIR}/relay-${PORTVERSION}
PORTDOCS= FAQ README
+CFLAGS_aarch64= -fPIC
+CFLAGS_amd64= -fPIC
+
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/../quake2-data/Makefile.include"
.include <bsd.port.options.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-CFLAGS+= -fPIC
-.endif
-
post-patch: .SILENT
${REINPLACE_CMD} -e 's/-ldl// ; /^include/d ; \
s/cp -p/${INSTALL_PROGRAM}/' ${WRKSRC}/Makefile