Skip to content

Commit

Permalink
Do not "force" dvdread option via "--enable-dvdread" (but let the MPl…
Browse files Browse the repository at this point in the history
…ayer'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.
  • Loading branch information
leot committed Nov 29, 2015
1 parent f3d993b commit 93ca421
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions multimedia/mplayer-share/options.mk
Original file line number Diff line number Diff line change
@@ -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*)

Expand Down Expand Up @@ -168,7 +168,6 @@ CONFIGURE_ARGS+= --disable-libdv
.endif

.if !empty(PKG_OPTIONS:Mdvdread)
CONFIGURE_ARGS+= --enable-dvdread
. include "../../multimedia/libdvdread/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-dvdread
Expand Down

0 comments on commit 93ca421

Please sign in to comment.