From e6f0f463aa1ba941d77508f8f758a160ed72fd3d Mon Sep 17 00:00:00 2001 From: pav Date: Thu, 9 Dec 2004 23:29:36 +0000 Subject: - Fix build with recent libggi on 4.x Reported by: krismail --- games/koth/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'games/koth') diff --git a/games/koth/Makefile b/games/koth/Makefile index 470f2806bfba..13c591ab9817 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 -- cgit