summaryrefslogtreecommitdiff
path: root/textproc/intltool/files/patch-intltoolize.in
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-intltoolize.in
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 'textproc/intltool/files/patch-intltoolize.in')
-rw-r--r--textproc/intltool/files/patch-intltoolize.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/intltool/files/patch-intltoolize.in b/textproc/intltool/files/patch-intltoolize.in
new file mode 100644
index 000000000000..d0910da1f8c0
--- /dev/null
+++ b/textproc/intltool/files/patch-intltoolize.in
@@ -0,0 +1,12 @@
+--- intltoolize.in.orig 2011-10-08 06:16:58 UTC
++++ intltoolize.in
+@@ -233,7 +233,8 @@ exit $status
+ # will be used to pull in the macro.
+ m4dir=`cat "$configure" | grep '^AC_CONFIG_MACRO_DIR' | sed -n -e 's/AC_CONFIG_MACRO_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q`
+ if test -n "$m4dir"; then
+- rm -f $m4dir/intltool.m4
++ $mkdir -p $m4dir
++ $rm $m4dir/intltool.m4
+ if test -n "$ln_s" && $ln_s $intltool_m4 $m4dir/intltool.m4; then :
+ elif $cp $intltool_m4 $m4dir/intltool.m4; then :
+ else