aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnomeapplets2/files/patch-aa
blob: 73b0823ce82eac72ea597e3b49a0ffec73066c84 (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
--- configure.orig  Sun Feb 22 19:22:49 2004
+++ configure   Sun Feb 22 19:24:33 2004
@@ -22912,6 +22912,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
@@ -23034,7 +23035,7 @@
 
    ;;
   # list of supported OS cores that do not use libapm
-  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
+  i386-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
    ;;
   *)
    echo "warning: ${host} is not supported by battstat_applet, not building" >&2
@@ -24905,14 +24906,14 @@
 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
 cat >>confdefs.h <<_ACEOF
-#define GNOME_ICONDIR "${prefix}/share/pixmaps"
+#define GNOME_ICONDIR "${datadir}/pixmaps"
 _ACEOF
 
 
 #defined the below to enable help to work for applets
 
 cat >>confdefs.h <<_ACEOF
-#define DATADIR "${prefix}/share"
+#define DATADIR "${datadir}"
 _ACEOF
 
 cat >>confdefs.h <<_ACEOF