svn commit: r320105 - head/audio/openal

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 6 15:38:38 UTC 2013


Author: bapt
Date: Thu Jun  6 15:38:37 2013
New Revision: 320105
URL: http://svnweb.freebsd.org/changeset/ports/320105

Log:
  Finish conversion to new options framework

Modified:
  head/audio/openal/Makefile

Modified: head/audio/openal/Makefile
==============================================================================
--- head/audio/openal/Makefile	Thu Jun  6 14:59:50 2013	(r320104)
+++ head/audio/openal/Makefile	Thu Jun  6 15:38:37 2013	(r320105)
@@ -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


More information about the svn-ports-all mailing list