summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-05-21 23:31:56 +0000
committermarcus <marcus@FreeBSD.org>2002-05-21 23:31:56 +0000
commitaa4bc715b4aaa9334f3661ca8d417fe881832629 (patch)
tree20f2c9551b0d8a7649939b6d165857ad6e1c7214
parent4438e2493d5c91236efeb0b721f206cd88d62f68 (diff)
downloadFreeBSD-ports-aa4bc715b4aaa9334f3661ca8d417fe881832629.zip
FreeBSD-ports-aa4bc715b4aaa9334f3661ca8d417fe881832629.tar.gz
Disable the battery applet on AXP since it does not have APM support.
Submitted by: bento
-rw-r--r--x11/gnomeapplets/Makefile8
-rw-r--r--x11/gnomeapplets/files/extra-patch-Makefile.in10
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/gnomeapplets/Makefile b/x11/gnomeapplets/Makefile
index 59404a4..1d3ebbe 100644
--- a/x11/gnomeapplets/Makefile
+++ b/x11/gnomeapplets/Makefile
@@ -17,6 +17,12 @@ MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.in
+.endif
+
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
@@ -41,4 +47,4 @@ pre-patch:
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11/gnomeapplets/files/extra-patch-Makefile.in b/x11/gnomeapplets/files/extra-patch-Makefile.in
new file mode 100644
index 0000000..7dc909c
--- /dev/null
+++ b/x11/gnomeapplets/files/extra-patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig Tue May 21 19:05:53 2002
++++ Makefile.in Tue May 21 19:06:00 2002
+@@ -228,7 +228,6 @@
+ always_built_SUBDIRS = \
+ another_clock \
+ asclock \
+- battery \
+ charpick \
+ clockmail \
+ drivemount \
OpenPOWER on IntegriCloud