diff options
Diffstat (limited to 'games/baduki')
-rw-r--r-- | games/baduki/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/games/baduki/Makefile b/games/baduki/Makefile index d0d4920c3f80..ccde934e36bc 100644 --- a/games/baduki/Makefile +++ b/games/baduki/Makefile @@ -12,12 +12,17 @@ MASTER_SITES= ftp://autoinst.acs.uci.edu/pub/go/ MAINTAINER= spcoltri@omcl.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 - -GNU_CONFIGURE= yes -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config USE_X_PREFIX= yes USE_GMAKE= yes +USE_GTK= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure .include <bsd.port.mk> |