diff options
Diffstat (limited to 'games/glife/Makefile')
-rw-r--r-- | games/glife/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/games/glife/Makefile b/games/glife/Makefile index 35f25cb..179df19 100644 --- a/games/glife/Makefile +++ b/games/glife/Makefile @@ -18,14 +18,12 @@ MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes USE_X_PREFIX= yes USE_LIBTOOL= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack libglade CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-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> |