summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/koth/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/koth/Makefile b/games/koth/Makefile
index 470f280..13c591a 100644
--- a/games/koth/Makefile
+++ b/games/koth/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
USE_BZIP2= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
PLIST_FILES= bin/kclever-ai bin/kmoron-ai bin/koth bin/koths
MAN6= kclever-ai.6 kmoron-ai.6 koth.6 koths.6
@@ -25,4 +26,7 @@ MAN6= kclever-ai.6 kmoron-ai.6 koth.6 koths.6
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lggi|-lggi ${PTHREAD_LIBS}|' ${WRKSRC}/configure
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud