Skip to content

Commit

Permalink
use nasm on i386 by default, per millert's idea, ok maintainer jakob
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Valchev committed May 26, 2003
1 parent eb47156 commit d991020
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion audio/lame/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2003/01/26 13:06:51 jakob Exp $
# $OpenBSD: Makefile,v 1.21 2003/05/26 03:20:29 pvalchev Exp $

COMMENT= "lame ain't an MP3 encoder"

Expand Down Expand Up @@ -30,6 +30,14 @@ CONFIGURE_ARGS+= --enable-mp3rtp
MAKE_FLAGS= pkghtmldir=${TRUEPREFIX}/share/doc/lame
FAKE_FLAGS= ${MAKE_FLAGS}

# XXX gcc3/nasm issue
.if (${MACHINE_ARCH} == "i386") && (${CC} != "egcc")
BUILD_DEPENDS= nasm::devel/nasm
CONFIGURE_ARGS+= --enable-nasm
.else
CONFIGURE_ARGS+= --disable-nasm
.endif

.if ${FLAVOR:L} != "no_x11"
CONFIGURE_ARGS+= --enable-mp3x \
--with-gtk-prefix=${LOCALBASE}
Expand Down

0 comments on commit d991020

Please sign in to comment.