summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-control-center3
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-21 15:23:34 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-21 15:23:34 +0800
commitc6d49d910241f03cccb962dc603d8508f7ba9b72 (patch)
tree75888d46c0d60f3ef3039dc0006966655cb84943 /sysutils/gnome-control-center3
parentc6e612464db073d1aa5323af30569e7c6a7e4e1f (diff)
downloadmarcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.tar
marcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.tar.gz
marcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.tar.bz2
marcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.tar.lz
marcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.tar.xz
marcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.tar.zst
marcuscom-ports-c6d49d910241f03cccb962dc603d8508f7ba9b72.zip
Only pull in cheese on i386 and amd64. webcamd doesn't work on ppc.
Submitted by: Super Bisquit <superbisquit@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15517 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-control-center3')
-rw-r--r--sysutils/gnome-control-center3/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/gnome-control-center3/Makefile b/sysutils/gnome-control-center3/Makefile
index e99153f6a..339bb7d47 100644
--- a/sysutils/gnome-control-center3/Makefile
+++ b/sysutils/gnome-control-center3/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-control-center3/Makefile,v 1.10 2011/03/11 20:00:25 kwm Exp $
+# $MCom: ports/sysutils/gnome-control-center3/Makefile,v 1.11 2011/03/20 03:21:25 avl Exp $
#
PORTNAME= gnome-control-center
@@ -55,7 +55,7 @@ WITH_GNOME= yes
OPTIONS= CUPS "Enable cups (printing) support" On \
CHEESE "Enable cheese webcam support" Off
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
.if defined(WITH_CUPS)
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client
@@ -65,7 +65,7 @@ PLIST_SUB+= CUPS="@comment "
CONFIGURE_ARGS+=--disable-cups
.endif
-.if defined(WITH_CHEESE)
+.if defined(WITH_CHEESE) && (${ARCH}=="i386" || ${ARCH}=="amd64")
CONFIGURE_ARGS+=--with-cheese
LIB_DEPENDS+= cheese.0:${PORTSDIR}/multimedia/cheese3
.else
@@ -75,4 +75,4 @@ CONFIGURE_ARGS+=--without-cheese
post-install:
@-update-desktop-database
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>