aboutsummaryrefslogtreecommitdiff
path: root/games/baduki
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /games/baduki
parentd0cdca8bc326260560504ebb5d4b206942ca5125 (diff)
downloadports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.tar.gz
ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.zip
Notes
Diffstat (limited to 'games/baduki')
-rw-r--r--games/baduki/Makefile15
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>