summaryrefslogtreecommitdiff
path: root/textproc/intltool/files/patch-intltool.m4
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-04-03 15:55:53 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-04-03 15:55:53 +0000
commit86931959a74093c8901378ee1ae12f8bfe35374b (patch)
treee49f2bffc0a03a3fbd85750a6789676a11b03fa0 /textproc/intltool/files/patch-intltool.m4
parent- Chase renamed vnsiserver5 -> vnsiserver plugin. (diff)
Add two patches to textproc/intltool so it works better with USES=autoreconf
- Patch intltool.m4 so translations are always installed in PREFIX/share/locale instead of PREFIX/lib/locale (USE_GNOME=intlhack also does this for ports without USES=autoreconf) - Patch intltoolize.in so it creates the directory where it will copy intltool.m4 into if it doesn't exist yet Also remove old CONFIGURE_ARGS, CONFLICTS, post-patch and post-install from Makefile and remove an old patch. PR: 198123 Exp-run by: antoine Approved by: gnome (kwm), portmgr (antoine)
Notes
Notes: svn path=/head/; revision=383140
Diffstat (limited to '')
-rw-r--r--textproc/intltool/files/patch-intltool.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/intltool/files/patch-intltool.m4 b/textproc/intltool/files/patch-intltool.m4
new file mode 100644
index 000000000000..8df20c4a7201
--- /dev/null
+++ b/textproc/intltool/files/patch-intltool.m4
@@ -0,0 +1,12 @@
+--- intltool.m4.orig 2012-02-26 18:31:06 UTC
++++ intltool.m4
+@@ -164,6 +164,9 @@ if test -z "$DATADIRNAME"; then
+ return _nl_msg_cat_cntr]])],
+ [DATADIRNAME=share],
+ [case $host in
++ *-*-dragonfly*|*-*-freebsd*)
++ [DATADIRNAME=share]
++ ;;
+ *-*-solaris*)
+ dnl On Solaris, if bind_textdomain_codeset is in libc,
+ dnl GNU format message catalog is always supported,