aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2018-04-06 18:32:50 +0000
committerLarry Rosenman <ler@FreeBSD.org>2018-04-06 18:32:50 +0000
commit973ef20bb9a33522538010fee1443dd3ee2e54f5 (patch)
treee488691653d253a31e7a5eafed84f349e2f64c6f /games
parent5068e6b39948e17d53b427fe9b6932294da85f21 (diff)
downloadports-973ef20bb9a33522538010fee1443dd3ee2e54f5.tar.gz
ports-973ef20bb9a33522538010fee1443dd3ee2e54f5.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/assaultcube/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/assaultcube/Makefile b/games/assaultcube/Makefile
index 9c378f5020aa..c59c330cf9c5 100644
--- a/games/assaultcube/Makefile
+++ b/games/assaultcube/Makefile
@@ -25,6 +25,7 @@ LICENSE_PERMS_OTHER= dist-mirror pkg-mirror auto-accept
USES= gmake tar:bzip2
ALL_TARGET= # empty
+LLD_UNSAFE= yes
WRKSRC= ${WRKDIR}/AssaultCube_v${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/source/src
SUB_FILES= ${PLIST_FILES:Mbin/*:T}
@@ -77,8 +78,8 @@ post-patch: .SILENT
s|-I/usr/include || ; \
s|sdl-config|$$(SDL_CONFIG)| ; \
s|$$(USRLIB)|$$(LOCALBASE)/lib| ; \
- /^CLIENT_LIBS=/s|$$| -lintl| ; \
- /^SERVER_LIBS=/s|$$| -L$$(LOCALBASE)/lib|' \
+ /^CLIENT_LIBS=/s|$$| $$(LDFLAGS) -lintl| ; \
+ /^SERVER_LIBS=/s|$$| $$(LDFLAGS) -L$$(LOCALBASE)/lib|' \
${BUILD_WRKSRC}/Makefile
.if ${PORT_OPTIONS:MPORT_ENET}
${SED} -i '.port_enet.bak' -e 's/libenet // ; \