Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2013 15:38:37 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320105 - head/audio/openal
Message-ID:  <201306061538.r56FcbUk097856@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306061538.r56FcbUk097856>