Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2023 07:40:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 269383] ftp/gstreamer1-plugins-curl: build fails if textproc/zxing-cpp is also installed [patch included]
Message-ID:  <bug-269383-12827-767EG0UqvY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269383-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269383-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269383

--- Comment #3 from Martin Birgmeier <d8zNeCFG@aon.at> ---
If I understand Makefile.common correctly, it splits the gstreamer-bad
distribution into separate sub-ports by disabling everything and only enabl=
ing
the sub-port; the latter is done in the sub-port.

.if ${DIST}=3D=3D"bad"
.for d in ${BAD_GST_ALL_PLUGINS}
CONFIGURE_ARGS+=3D        -D${d}=3Ddisabled
.endfor
.for d in ${BAD_GST_ENABLED_PLUGINS}
CONFIGURE_ARGS+=3D        -D${d}=3Denabled
.endfor
.endif

...

.if ${GST_PLUGIN}!=3D"base" && ${GST_PLUGIN}!=3D"bad" && \
        ${GST_PLUGIN}!=3D"good" && ${GST_PLUGIN}!=3D"ugly" && \
        ${GST_PLUGIN}!=3D"x"
CONFIGURE_ARGS+=3D        -D${GST_PLUGIN}=3Denabled
.endif

So all sub-ports in the gst-plugins-bad-1.20.5.tar.xz distribution MUST be
added to BAD_GST_ALL_PLUGINS, otherwise such a sub-port will also inadverte=
ntly
build the other, not included sub-ports (even if they are then not installed
due to pkg-plist).

Similar for good, base, etc.

-- Martin

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269383-12827-767EG0UqvY>