aboutsummaryrefslogtreecommitdiff
path: root/editors/gmanedit
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-28 01:27:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-28 01:27:25 +0000
commit313ab95b42034defc0918867a5c039d6c49ecdf7 (patch)
treecd55a3d5d8406a39deb4e712212a5267481e0423 /editors/gmanedit
parent8e9366c679c9b9dd38bace93bddb5790972bbfb7 (diff)
downloadports-313ab95b42034defc0918867a5c039d6c49ecdf7.tar.gz
ports-313ab95b42034defc0918867a5c039d6c49ecdf7.zip
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=63638
Diffstat (limited to 'editors/gmanedit')
-rw-r--r--editors/gmanedit/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile
index ba80cec22f4b..20bad88faaaa 100644
--- a/editors/gmanedit/Makefile
+++ b/editors/gmanedit/Makefile
@@ -18,7 +18,8 @@ USE_REINPLACE= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= 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"
@@ -28,12 +29,8 @@ ALL_TARGET= clean all
post-extract:
@${RM} -rf ${WRKSRC}/config.cache
-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'
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|\$(datadir)/locale|\$(prefix)/share/locale|g'
.include <bsd.port.mk>