aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-28 01:32:30 +0800
committermarcus <marcus@FreeBSD.org>2004-06-28 01:32:30 +0800
commitd03beeda93de5296cc99e5ed1ca3b75aaa7cbc8c (patch)
treee533870e3b277f717394bee9274d96654ba50ad3 /Mk/bsd.gnome.mk
parent81e34fec28fff996d81df461e7f4ebf389ed7140 (diff)
downloadfreebsd-ports-gnome-d03beeda93de5296cc99e5ed1ca3b75aaa7cbc8c.tar.gz
freebsd-ports-gnome-d03beeda93de5296cc99e5ed1ca3b75aaa7cbc8c.tar.zst
freebsd-ports-gnome-d03beeda93de5296cc99e5ed1ca3b75aaa7cbc8c.zip
Add more locale directory hacks to bsd.gnome.mk, and fix ports that tried
to fix these using their own patches. PR: 68256 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index c456c9205ce8..2cd4bcead14f 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -59,7 +59,9 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLA
s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' ; \
${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g'
+ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+ s|{datadir}/locale|{prefix}/share/locale|g ; \
+ s|{libdir}/locale|{prefix}/share/locale|g'
lthack_PRE_PATCH= ${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
'/^LIBTOOL_DEPS="$$ac_aux_dir\/ltmain.sh"$$/s|$$|; $$ac_aux_dir/ltconfig $$LIBTOOL_DEPS;|'