Add dependency on alsa-lib. Port picks it up with configure if installed

Fix mispelled option MISALIGNED

PR:		159340
Submitted by:	Joel Ray Holveck <joelh@piquan.org>
This commit is contained in:
Tilman Keskinoz 2011-08-07 12:58:59 +00:00
parent f86d70b88f
commit 7ab85aab70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279126

View file

@ -7,6 +7,7 @@
PORTNAME= bochs
PORTVERSION= 2.4.6
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= emulators
MASTER_SITES= SF
@ -14,6 +15,8 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An IA-32 (x86) PC emulator that runs DOS, Win 95, and more
LIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
@ -68,7 +71,7 @@ OPTIONS= A20_PIN "Enable support for A20 pin" on \
X86_64 "Enable AMD x86-64 support" off \
XPM "Enable XPM library support" off
CFLAGS+= -fno-exceptions -fomit-frame-pointer
CFLAGS+= -fno-exceptions -fomit-frame-pointer ${CPPFLAGS}
CXXFLAGS+= -fno-rtti
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
@ -211,7 +214,7 @@ CONFIGURE_ARGS+=--enable-long-phy-address
CONFIGURE_ARGS+=--disable-long-phy-address
.endif
.if defined(WITH_MISALIGNDSSE)
.if defined(WITH_MISALIGNEDSSE)
CONFIGURE_ARGS+=--enable-misaligned-sse
.else
CONFIGURE_ARGS+=--disable-misaligned-sse