summaryrefslogtreecommitdiff
path: root/sysutils/mc/patches/patch-aa
blob: 1ac6928533cf9353405a21730d4cd1bfccd72d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
$NetBSD: patch-aa,v 1.10 2001/02/13 11:47:06 tron Exp $

--- configure.orig	Mon Jul  3 10:31:57 2000
+++ configure
@@ -3543,6 +3543,11 @@
 
 
 
+# Set DATADIRNAME to "${LOCALEDIR}"
+DATADIRNAME="${LOCALEDIR}"
+INTLDEPS=
+INTLLIBS="-lintl"
+
 cc_uses_g=yes
 if test x$GCC = xyes; then
     if test x$ac_cv_prog_gcc_g = xyes; then
@@ -9409,11 +9414,15 @@
 
 
 	# Check whether --with-gnome or --without-gnome was given.
+gnomecodedirs=
+gnomeunixdirs=
 if test "${with_gnome+set}" = set; then
   withval="$with_gnome"
   if test x$withval = xyes; then
 	    		want_gnome=yes
 	    						    		
+	gnomecodedirs='gnome idl'
+	gnomeunixdirs='doc-gnome'
 	mx=mx
  	gmcdep=gmcdep
 	libgtkedit="libgtkedit.a"
@@ -11891,6 +11900,7 @@
  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
 $ac_vpsub
 $extrasub
+s%@LOCALBASE@%$LOCALBASE%g
 s%@SHELL@%$SHELL%g
 s%@CFLAGS@%$CFLAGS%g
 s%@CPPFLAGS@%$CPPFLAGS%g
@@ -12019,6 +12029,8 @@
 s%@GNOME_DOCKLETS_LIBS@%$GNOME_DOCKLETS_LIBS%g
 s%@GNOME_CAPPLET_LIBS@%$GNOME_CAPPLET_LIBS%g
 s%@gnomeicondir@%$gnomeicondir%g
+s%@gnomecodedirs@%$gnomecodedirs%g
+s%@gnomeunixdirs@%$gnomeunixdirs%g
 s%@mx@%$mx%g
 s%@gmcdep@%$gmcdep%g
 s%@libgtkedit@%$libgtkedit%g