mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
- 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)
12 lines
521 B
Text
12 lines
521 B
Text
--- 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
|