diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-05-30 14:48:19 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-05-30 14:48:19 +0000 |
commit | 9de1b1596862249c6f2b465b2c2b6c1df31fa3d9 (patch) | |
tree | 13bf5e7f6f8a53b3260af3dad4cdaec44b133fe0 /x11/gnome-applets/Makefile | |
parent | Attempt 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/Makefile | 10 |
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> |