- Fix build with recent libggi on 4.x
Reported by: krismail
This commit is contained in:
parent
1108488eba
commit
e3467398da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123595
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue