multimedia/gstreamer1: FLEX_REQD=2.5.31

Revert the last commit and use the (new) FLEX_REQD directive in order
to build gstreamer on platforms with older versions of flex.

Thanks @wiz, @obache
This commit is contained in:
marino 2012-12-15 07:41:27 +00:00
parent a7386bd6b7
commit eb6bae3aa3

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.2 2012/12/15 01:55:17 marino Exp $
# $NetBSD: Makefile,v 1.3 2012/12/15 07:41:27 marino Exp $
#
DISTNAME= gstreamer-1.0.3
PKGNAME= ${DISTNAME:S/gstreamer/gstreamer1/}
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/
EXTRACT_SUFX= .tar.xz
@ -15,9 +15,10 @@ LICENSE= gnu-lgpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= bison gmake perl pkg-config
USE_TOOLS+= bison flex gmake perl pkg-config
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
FLEX_REQD= 2.5.31
.include "options.mk"
@ -27,6 +28,5 @@ PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-net.pc.in
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer.pc.in
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-base.pc.in
.include "../../devel/flex/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"