aboutsummaryrefslogtreecommitdiff
path: root/editors/gedit/files/patch-configure
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-24 23:36:14 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-24 23:36:14 +0000
commitab228e5b7d711252695a6950bb6bec15feb848f1 (patch)
tree53c16a8b7f2c1c1380fabea2cf84ceaff41c43c2 /editors/gedit/files/patch-configure
parenta87239a180907bc753f7da1f4b594b969f3324ea (diff)
Notes
Diffstat (limited to 'editors/gedit/files/patch-configure')
-rw-r--r--editors/gedit/files/patch-configure39
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/gedit/files/patch-configure b/editors/gedit/files/patch-configure
new file mode 100644
index 000000000000..91c1e9a657d0
--- /dev/null
+++ b/editors/gedit/files/patch-configure
@@ -0,0 +1,39 @@
+--- configure.orig Wed Feb 25 02:26:37 2004
++++ configure Wed Feb 25 02:27:22 2004
+@@ -22282,6 +22282,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
+@@ -22371,6 +22372,7 @@
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
++LIBS="-lintl $LIBS"
+
+ else
+ { { echo "$as_me:$LINENO: error: ngettext function is required to build gedit." >&5
+@@ -22405,17 +22407,17 @@
+ if test "x${prefix}" = "xNONE"; then
+
+ cat >>confdefs.h <<_ACEOF
+-#define PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
++
+ _ACEOF
+
+ pixmapsdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
+ else
+
+ cat >>confdefs.h <<_ACEOF
+-#define PIXMAPS_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
++#define PIXMAPS_DIR "${datadir}/pixmaps"
+ _ACEOF
+
+- pixmapsdir="${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
++ pixmapsdir="${datadir}/pixmaps"
+ fi
+
+