aboutsummaryrefslogtreecommitdiff
path: root/games/bombermaze/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/bombermaze/Makefile')
-rw-r--r--games/bombermaze/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/bombermaze/Makefile b/games/bombermaze/Makefile
index cb8a2ef933d4..b19e8f4a453e 100644
--- a/games/bombermaze/Makefile
+++ b/games/bombermaze/Makefile
@@ -15,7 +15,8 @@ MAINTAINER= gnome@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -23,11 +24,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS+= -fpermissive
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>