From d6f419b333981a9e7b569a81ee6fc886bb816add Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sat, 20 Jul 2002 17:14:59 +0000 Subject: [PATCH] Use USE_GNOMENG. --- ftp/gtm/Makefile | 8 +++----- 1 file 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