aboutsummaryrefslogtreecommitdiff
path: root/games/atanks
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /games/atanks
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
- Fix missing library problems when the linker enforces explicit linking
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=366215
Diffstat (limited to 'games/atanks')
-rw-r--r--games/atanks/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/atanks/Makefile b/games/atanks/Makefile
index f02b159e8cfa..e4dbf5df46af 100644
--- a/games/atanks/Makefile
+++ b/games/atanks/Makefile
@@ -22,6 +22,7 @@ PORTDOCS= Changelog README README_ru.txt credits.txt
OPTIONS_DEFINE= DOCS
post-patch:
+ @${REINPLACE_CMD} '/^LDFLAGS =/s/$$/ -pthread/' ${WRKSRC}/src/Makefile.bsd
@${REINPLACE_CMD} -e \
's/int Filter_File( struct dirent/int Filter_File( const struct dirent/' \
${WRKSRC}/src/files.cpp