summaryrefslogtreecommitdiff
path: root/games/gnomebreakout
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnomebreakout')
-rw-r--r--games/gnomebreakout/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/gnomebreakout/Makefile b/games/gnomebreakout/Makefile
index 74556a3c7429..3b347d306ad1 100644
--- a/games/gnomebreakout/Makefile
+++ b/games/gnomebreakout/Makefile
@@ -15,16 +15,14 @@ MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_X_PREFIX= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-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>