From owner-freebsd-ports-bugs@freebsd.org Mon Aug 24 04:12:20 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6D5F9C186C for ; Mon, 24 Aug 2015 04:12:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBB28BD8 for ; Mon, 24 Aug 2015 04:12:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7O4CJDX033362 for ; Mon, 24 Aug 2015 04:12:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202404] [MAINTAINER] multimedia/mplayer2: updates to Makefile Date: Mon, 24 Aug 2015 04:12:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 04:12:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202404 --- Comment #9 from Jan Beich --- Comment on attachment 160285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D160285 v4 > @@ -25,7 +25,6 @@ > CONFIGURE_ARGS=3D --cc=3D${CC} \ > --extra-libs=3D'-lavresample ${PORTAUDIOLIB}' \ > --mandir=3D${PREFIX}/man \ > - --enable-libavresample \ What's the rationale? > +OPTIONS_DEFINE=3D ... V4L ... If it was previously commented out and didn't work then don't advertise it. Option helpers can be left uncommented as they wouldn't be used. > -.if ${PORT_OPTIONS:MIPV6} > -CATEGORIES+=3D ipv6 > -.else > -CONFIGURE_ARGS+=3D --disable-inet6 > -.endif [...] > +IPV6_CONFIGURE_ON=3D --enable-inet6 > +IPV6_CONFIGURE_OFF=3D --disable-inet6 CATEGORIES is lost? > +ASS_CONFIGURE_OFF=3D --disable-libass --disable-enca Make it ASS_IMPLIES=3DENCA instead. > +CACA_CONFIGURE_ON=3D --enable-caca > +CACA_CONFIGURE_OFF=3D --disable-caca Better replace such instances with the likes of CACA_CONFIGURE_ENABLE=3D caca > +THEORA_EXTRA_LIBS=3D -ltheoradec > +V4L_EXTRA_LIBS=3D -lv4l2 [...] > +.if defined(THEORA_EXTRA_LIBS) > +CONFIGURE_ARGS+=3D --extra-libs=3D"${THEORA_EXTRA_LIBS}" > +.endif > +.if defined(V4L_EXTRA_LIBS) > +CONFIGURE_ARGS+=3D --extra-libs=3D"${V4L_EXTRA_LIBS}" > +.endif This isn't going to work. Each instance of --extra-libs overrides the previ= ous one. Try using standard variable. CONFIGURE_ARGS+=3D --extra-libs=3D"${LIBS}" [...] THEORA_LIBS=3D -ltheoradec V4L_LIBS=3D -lv4l2 > -.if ${PORT_OPTIONS:MX11} > -USE_XORG=3D x11 xv xxf86vm > -.if ${PORT_OPTIONS:MOPENGL} > -USE_XORG+=3D glproto > -.if ${PORT_OPTIONS:MXINERAMA} > -USE_XORG+=3D xinerama xineramaproto > +OPENGL_USE=3D GL=3Dgl XORG=3Dglproto > +XINERAMA_USE=3D XORG=3Dxinerama,xineramaproto Lossy conversion. Where are _IMPLIES=3D X11 ? > .include This line should disappear. >=20 > .if ${ARCH} =3D=3D "sparc64" > BROKEN=3D Does not compile on sparc64 > .endif Convert into BROKEN_sparc64. > +--- configure.orig 2013-07-09 16:33:11 UTC > ++++ configure [...] > +- for _cc in "$_cc" gcc cc ; do > ++ for _cc in "$_cc" cc cc ; do Same mistake as v3. You're converting post-patch into files/patch-configure. --=20 You are receiving this mail because: You are the assignee for the bug.=