summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/snes9x/Makefile8
-rw-r--r--graphics/imlib2/options.mk9
-rw-r--r--multimedia/avidemux/Makefile6
-rw-r--r--multimedia/xawtv/Makefile9
4 files changed, 20 insertions, 12 deletions
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index 22bed2c942f..b1e87e304e4 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/06/10 18:20:06 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2005/06/11 16:53:18 wiz Exp $
DISTNAME= s9xs139
PKGNAME= snes9x-1.39
@@ -29,13 +29,15 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/snes9x
${INSTALL_MAN} ${WRKSRC}/TODO.TXT ${PREFIX}/share/doc/snes9x
+.include "../../mk/bsd.prefs.mk"
+
PKG_OPTIONS_VAR= PKG_OPTIONS.snes9x
+.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS= mmx
+.endif
.include "../../mk/bsd.options.mk"
-.include "../../mk/bsd.prefs.mk"
-
MAKE_ENV+= THREAD_SOUND=1
.if ${MACHINE_ARCH} == "i386"
MAKE_ENV+= USING_I386=1
diff --git a/graphics/imlib2/options.mk b/graphics/imlib2/options.mk
index 476b72f7f53..aa3efddbb2a 100644
--- a/graphics/imlib2/options.mk
+++ b/graphics/imlib2/options.mk
@@ -1,13 +1,14 @@
-# $NetBSD: options.mk,v 1.3 2005/06/10 18:21:45 wiz Exp $
+# $NetBSD: options.mk,v 1.4 2005/06/11 16:54:31 wiz Exp $
+
+.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.imlib2
+.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS= mmx
+.endif
.include "../../mk/bsd.options.mk"
-.include "../../mk/bsd.prefs.mk"
.if !empty(PKG_OPTIONS:Mmmx)
-.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.endif
-.endif
diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile
index 9bb2fc80df3..5b97ccc4cd2 100644
--- a/multimedia/avidemux/Makefile
+++ b/multimedia/avidemux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/06/10 18:25:13 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2005/06/11 16:57:29 wiz Exp $
#
DISTNAME= avidemux-2.0.40
@@ -20,8 +20,12 @@ LDFLAGS+= ${LIBOSSAUDIO}
CONFIGURE_ENV+= ac_cv_path_ART_CONFIG=no
CONFIGURE_ARGS+= --disable-faad # Dolby doesn't allow binary distribution
+.include "../../mk/bsd.prefs.mk"
+
PKG_OPTIONS_VAR= PKG_OPTIONS.avidemux
+.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS= mmx
+.endif
.include "../../mk/bsd.options.mk"
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 967b97f1f92..e6e2cd9d429 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/06/10 18:26:36 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2005/06/11 16:58:08 wiz Exp $
#
DISTNAME= xawtv_3.90
@@ -29,17 +29,18 @@ SUBST_FILES.devoss+= man/motv.1 man/record.1 man/streamer.1 man/xawtv.1
SUBST_FILES.devoss+= man/es/streamer.1 man/es/xawtv.1 man/fr/xawtv.1
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_SUPPORTED_OPTIONS= mmx
+.endif
.include "../../mk/bsd.options.mk"
-.include "../../mk/bsd.prefs.mk"
.if !empty(PKG_OPTIONS:Mmmx)
-.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.endif
-.endif
.include "../../devel/ncurses/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"