summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-27 17:32:30 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-27 17:32:30 +0000
commit33959b7b0ffd0502d2b9671c190b11df1a67f741 (patch)
tree6c4b24e029a47c768f8f3205e3b4be816860b48c /Mk
parentAdd p5-Digest-MD5-M4p 0.01, (diff)
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>
Notes
Notes: svn path=/head/; revision=112375
Diffstat (limited to '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;|'