summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/files/patch-aa
blob: cf6bce530e2ca2fdb239c648eccc610274d9bd1f (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- configure.orig  Fri Sep 13 15:58:55 2002
+++ configure   Wed Sep 18 01:18:40 2002
@@ -6994,6 +6994,7 @@
 
 # This can be used to rebuild libtool when needed
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -10518,7 +10519,7 @@
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
 CATOBJEXT=.mo
-            DATADIRNAME=lib
+            DATADIRNAME=share
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
          INSTOBJEXT=.mo
@@ -10765,6 +10766,7 @@
 *irix*) CDROM_HOST=irix; CDROM_LIBS="-lcdaudio -lmediad -lds";cd_device_path="/dev/cdrom";;
 *linux*) CDROM_HOST=linux;cd_device_path="/dev/cdrom";;
 *netbsd*) CDROM_HOST=netbsd;cd_device_path="/dev/rcd0";;
+*freebsd*) CDROM_HOST=freebsd;cd_device_path="dev/acd0c";;
 *solaris*) CDROM_HOST=solaris;cd_device_path="/vol/dev/aliases/cdrom0";cdplayer_type_sun=true;;
 esac
 case "$host" in
@@ -10817,6 +10819,20 @@
   HAVE_LIBAPM_TRUE='#'
   HAVE_LIBAPM_FALSE=
 fi
+   ;;
+  i386-*-freebsd*)
+   HAVE_LIBAPM=no
+
+if test "x$HAVE_LIBAPM" = "xyes"; then
+   HAVE_LIBAPM_TRUE=
+   HAVE_LIBAPM_FALSE='#'
+else
+       HAVE_LIBAPM_TRUE='#'
+   HAVE_LIBAPM_FALSE=
+fi
+   ;;
+  *-*-freebsd*)
+   build_battstat_applet=no
 
    ;;
   *-*-linux*)
@@ -11494,13 +11510,13 @@
 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
 cat >>confdefs.h <<EOF
-#define GNOME_ICONDIR "${prefix}/share/pixmaps"
+#define GNOME_ICONDIR "${datadir}/pixmaps"
 EOF
 
 #defined the below to enable help to work for applets
 
 cat >>confdefs.h <<EOF
-#define DATADIR "${prefix}/share"
+#define DATADIR "${datadir}"
 EOF
 
 cat >>confdefs.h <<EOF