summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-06-24 11:56:54 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-06-24 11:56:54 +0000
commit342b386faaf669c4de9d251b88697b960b97e677 (patch)
tree8f637871a9cfa2a0753c588046de603035067ab2 /multimedia
parenta4bc90661c5a18895a73d3a7a689ee87f334426b (diff)
downloadpkgsrc-342b386faaf669c4de9d251b88697b960b97e677.tar.gz
Don't pull in bsd.options.mk if we don't define PKG_SUPPORTED_OPTIONS,
fixes build on non-i386.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xawtv/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 3086f190216..d7c78be8967 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/08/05 15:04:38 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/24 11:56:54 jmcneill Exp $
#
DISTNAME= xawtv-3.95
@@ -31,12 +31,11 @@ SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
.include "../../mk/bsd.prefs.mk"
-PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
.if ${MACHINE_ARCH} == "i386"
+PKG_OPTIONS_VAR= PKG_OPTIONS.xawtv
PKG_SUPPORTED_OPTIONS= mmx
-.endif
-
.include "../../mk/bsd.options.mk"
+.endif
.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx