aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/gtm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/gtm/Makefile')
-rw-r--r--ftp/gtm/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/ftp/gtm/Makefile b/ftp/gtm/Makefile
index aa367c6aa85e..4c65b5222465 100644
--- a/ftp/gtm/Makefile
+++ b/ftp/gtm/Makefile
@@ -19,7 +19,8 @@ RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs oaf
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -27,11 +28,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gtm.1 gtm_applet.1
-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>