summaryrefslogtreecommitdiffstats
path: root/x11/gnomeapplets2/files/patch-aa
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-17 03:52:29 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-17 03:52:29 +0800
commitee0712e9515125f3c02b02e2cb00a44cc87df4b7 (patch)
tree138564875d031bc465a19c5c8f413265ac4e3b84 /x11/gnomeapplets2/files/patch-aa
parent8ab303f21a34c1b64802fba6cf63d215a311e661 (diff)
downloadmarcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.tar
marcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.tar.gz
marcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.tar.bz2
marcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.tar.lz
marcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.tar.xz
marcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.tar.zst
marcuscom-ports-ee0712e9515125f3c02b02e2cb00a44cc87df4b7.zip
Warn users that FreeBSD sys src is required to build gnomeapplets2 on i386
(due to the new ACPI support). Reminded by: pav Adapted from: devel/libpci git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2991 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnomeapplets2/files/patch-aa')
-rw-r--r--x11/gnomeapplets2/files/patch-aa16
1 files changed, 10 insertions, 6 deletions
diff --git a/x11/gnomeapplets2/files/patch-aa b/x11/gnomeapplets2/files/patch-aa
index 1b65f3358..0186faf0e 100644
--- a/x11/gnomeapplets2/files/patch-aa
+++ b/x11/gnomeapplets2/files/patch-aa
@@ -1,5 +1,5 @@
---- configure.orig Tue Oct 12 17:23:32 2004
-+++ configure Tue Oct 12 17:24:57 2004
+--- configure.orig Sat Oct 16 15:45:26 2004
++++ configure Sat Oct 16 15:47:04 2004
@@ -463,7 +463,7 @@
# include <unistd.h>
#endif"
@@ -25,17 +25,21 @@
build_battstat_applet=no
if test x$disable_battstat = xno; then
-@@ -24535,7 +24537,8 @@
+@@ -24535,7 +24537,12 @@
;;
# list of supported OS cores that do not use libapm
- *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
+ i386-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
-+ ACPIINC="-I/usr/src/sys"
++ if [ -n "${FREEBSD_SYS}" ]; then
++ ACPIINC="-I${FREEBSD_SYS}"
++ else
++ ACPIINC="-I/usr/src/sys"
++ fi
;;
*)
echo "warning: ${host} is not supported by battstat_applet, not building" >&2
-@@ -26615,14 +26618,14 @@
+@@ -26615,14 +26622,14 @@
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
cat >>confdefs.h <<_ACEOF
@@ -52,7 +56,7 @@
_ACEOF
cat >>confdefs.h <<_ACEOF
-@@ -27773,6 +27776,7 @@
+@@ -27773,6 +27780,7 @@
s,@APPLET_CDPLAYER_FALSE@,$APPLET_CDPLAYER_FALSE,;t t
s,@CDROM_HOST@,$CDROM_HOST,;t t
s,@CDROM_LIBS@,$CDROM_LIBS,;t t