fix pkgspec for FLAVOR=sdl, reported by and based on a patch from David Coppa.

This commit is contained in:
sthen 2009-03-17 08:24:33 +00:00
parent 1f52dfa95b
commit 6cae88a649

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.146 2009/03/08 22:45:16 jasper Exp $
# $OpenBSD: Makefile,v 1.147 2009/03/17 08:24:33 sthen Exp $
# May not be hard to add more.
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm
@ -9,7 +9,7 @@ V= 1.0rc2
N= mplayer
DISTNAME= MPlayer-${V}
DIST_SUBDIR= ${N}
PKGNAME= ${N}-${V}p20
PKGNAME= ${N}-${V}p21
CATEGORIES= x11 multimedia
EXTRACT_SUFX= .tar.bz2
@ -144,7 +144,7 @@ MODULES= devel/gettext
.if ${FLAVOR:L:Msdl}
CONFIGURE_ARGS+=--enable-sdl \
--with-sdl-config=${LOCALBASE}/bin/sdl-config
LIB_DEPENDS+= SDL:sdl-1.2.4p1,>=1.2.5:devel/sdl
LIB_DEPENDS+= SDL:sdl->=1.2.5:devel/sdl
.else
CONFIGURE_ARGS+=--disable-sdl
.endif