aboutsummaryrefslogtreecommitdiff
path: root/misc/metatheme2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/metatheme2/Makefile')
-rw-r--r--misc/metatheme2/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/metatheme2/Makefile b/misc/metatheme2/Makefile
index 7b666213ced2..55c6810441dd 100644
--- a/misc/metatheme2/Makefile
+++ b/misc/metatheme2/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= gnomehack
USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@@ -33,8 +34,6 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PLIST_SUB= VERSION=${PORTVERSION}
pre-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'