maintainer-feedback requested: [Bug 196729] [patch] multimedia/gstreamer - fix too late occurrence of USES=

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 14 17:01:03 UTC 2015


John Hein <z7dr6ut7gs at snkmail.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to
multimedia at FreeBSD.org:
Bug 196729: [patch] multimedia/gstreamer - fix too late occurrence of USES=
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196729



--- Description ---
Created attachment 151628
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151628&action=edit
fix too late USES= by replacing bsd.port.pre.mk with bsd.port.options.mk

Adding USES settings after bsd.port.pre.mk causes some variables to be set too
late (e.g., *_DEPENDS in Uses/gettext*.mk).  For example:

before (in current gstreamer port - 0.10.36_2):
make -V BUILD_DEPENDS
bison:/usr/ports/devel/bison gmake:/usr/ports/devel/gmake
pkgconf:/usr/ports/devel/pkgconf /usr/local/bin/flex:/usr/ports/textproc/flex

after patch:
make -f Makefile -V BUILD_DEPENDS
/usr/local/bin/flex:/usr/ports/textproc/flex bison:/usr/ports/devel/bison
gmake:/usr/ports/devel/gmake pkgconf:/usr/ports/devel/pkgconf
msgfmt:/usr/ports/devel/gettext-tools


Note missing gettext-tools in dependency list before the fix.

Bumping PORTREVISION is debatable here, but if the package is not rebuilt, it
can have incomplete dependencies (because of missed recording of
devel/gettext-runtime in LIB_DEPENDS).	It's probably best to bump
PORTREVISION, although I did not do so in the attached patch.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer multimedia at FreeBSD.org


More information about the freebsd-multimedia mailing list