summaryrefslogtreecommitdiff
path: root/x11/gnome-applets/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-30 14:48:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-30 14:48:19 +0000
commit9de1b1596862249c6f2b465b2c2b6c1df31fa3d9 (patch)
tree13bf5e7f6f8a53b3260af3dad4cdaec44b133fe0 /x11/gnome-applets/Makefile
parentAttempt to fix linking on AXP. (diff)
Only build the battstat_applet on i386.
Submitted by: beta
Notes
Notes: svn path=/head/; revision=60290
Diffstat (limited to 'x11/gnome-applets/Makefile')
-rw-r--r--x11/gnome-applets/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile
index a1f254d8d71c..3d629bb96f11 100644
--- a/x11/gnome-applets/Makefile
+++ b/x11/gnome-applets/Makefile
@@ -29,6 +29,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+PLIST_SUB= BATTERY="@comment "
+.else
+PLIST_SUB= BATTERY=""
+.endif
+
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -39,4 +47,4 @@ pre-patch:
s|\$\(prefix\)/lib/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \
s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>