aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-06 23:38:37 +0800
committerbapt <bapt@FreeBSD.org>2013-06-06 23:38:37 +0800
commit34df64823b6fdd37bc50780119b98d1800292671 (patch)
tree8776eca3336e83fbbe9468f335746b86b20d30cd /audio
parent9e593583b391ab2288f1c4b0bcb95df2ae704d86 (diff)
downloadfreebsd-ports-gnome-34df64823b6fdd37bc50780119b98d1800292671.tar.gz
freebsd-ports-gnome-34df64823b6fdd37bc50780119b98d1800292671.tar.zst
freebsd-ports-gnome-34df64823b6fdd37bc50780119b98d1800292671.zip
Finish conversion to new options framework
Diffstat (limited to 'audio')
-rw-r--r--audio/openal/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 06bb0d59dfd3..d9d221a15828 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -24,6 +24,8 @@ WANT_SDL= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= ARTS ESOUND SDL VORBIS SMPEG
+OPTIONS_DEFINE_i386= ASM
+OPTIONS_DEFAULT_i386= ASM
SMPEG_DESC= smpeg support
.include <bsd.port.options.mk>
@@ -68,12 +70,10 @@ CONFIGURE_ARGS+=--enable-smpeg
CONFIGURE_ARGS+=--disable-smpeg
.endif
-.if ${ARCH} == "i386"
-OPTIONS+= X86_ASM "Enable x86 assembly code" on
-.if !defined(WITHOUT_X86_ASM)
+.if ${PORT_OPTIONS:MASM}
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.endif
-.endif
+
NOT_FOR_ARCHS= ia64
NOT_FOR_ARCHS_REASON_ia64= does not compile