Sun Nov 29 11:48:29 2015 UTC ()
Do not "force" dvdread option via "--enable-dvdread" (but let the MPlayer's
configure script to autorecognise it).

In that way pkg-config will be used to set the CFLAGS and LDFLAGS (while this
does not happen via --enable-* for various options).

Pointed out by Joyent SmartOS bulk builds.


(leot)
diff -r1.53 -r1.54 pkgsrc/multimedia/mplayer-share/options.mk

cvs diff -r1.53 -r1.54 pkgsrc/multimedia/mplayer-share/options.mk (expand / switch to context diff)
--- pkgsrc/multimedia/mplayer-share/options.mk 2015/11/21 09:47:23 1.53
+++ pkgsrc/multimedia/mplayer-share/options.mk 2015/11/29 11:48:29 1.54
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.53 2015/11/21 09:47:23 leot Exp $
+# $NetBSD: options.mk,v 1.54 2015/11/29 11:48:29 leot Exp $
 
 .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
 
@@ -168,7 +168,6 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mdvdread)
-CONFIGURE_ARGS+=	--enable-dvdread
 .  include "../../multimedia/libdvdread/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=	--disable-dvdread