freebsd-ports/sysutils/gnomecontrolcenter2/files/patch-configure
Joe Marcus Clarke 33959b7b0f 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>
2004-06-27 17:32:30 +00:00

27 lines
697 B
Text

--- configure.orig Thu Mar 11 03:09:48 2004
+++ configure Thu Mar 11 03:12:25 2004
@@ -21373,6 +21373,7 @@
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+ LIBS="-lintl $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -21461,6 +21462,7 @@
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
+LIBS="-lintl $LIBS"
have_ngettext=yes
fi
done
@@ -26257,7 +26259,7 @@
cat >>confdefs.h <<_ACEOF
-#define GNOMECC_DATA_DIR "${real_prefix}/share/${GETTEXT_PACKAGE}"
+#define GNOMECC_DATA_DIR "${datadir}/${GETTEXT_PACKAGE}"
_ACEOF
GNOMECC_ICONS_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/icons'