summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-21 23:31:56 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-21 23:31:56 +0000
commite3c631ed7f19862bf239deee18023e667a3160f9 (patch)
treefea99dc72130c9341a942a163bfa4d96d16c297f
parentRemove leading slashes from plist elements. Now how did that happen....? (diff)
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 59404a474aaa..1d3ebbe1b8f8 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 000000000000..7dc909c466a1
--- /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 \