Bug 186174 - add LIB_DEPENDS= libv4l2 to www/firefox/Makefile
Summary: add LIB_DEPENDS= libv4l2 to www/firefox/Makefile
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-27 16:00 UTC by jhs
Modified: 2014-06-16 12:35 UTC (History)
2 users (show)

See Also:


Attachments
file.diff (768 bytes, patch)
2014-01-27 16:00 UTC, jhs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jhs 2014-01-27 16:00:00 UTC
	
Make broke cos a lib was missing or old

Fix: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/www/firefox/Makefile.REL=9.2-RELEASE.diff

Compile broke before my fix below. Error as below.
My fix below is doubtless not quite ideal re. lib Mk/ nomenclature,
MAINTAINER=gecko is invited to improve it please.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-27 16:00:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-06-07 01:41:40 UTC
(In reply to jhs from comment #0)
> *** 17,22 ****
> --- 17,28 ----
>   		${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
>   		cairo>=1.10.2_1,1:${PORTSDIR}/graphics/cairo \
>   		unzip:${PORTSDIR}/archivers/unzip
> + #		{LOCALBASE}/lib/libv4l2.so.0:${PORTSDIR}/multimedia/libv4l
> + LIB_DEPENDS=	libv4l2:${PORTSDIR}/multimedia/libv4l

Already there. And the format is either

 LIB_DEPENDS=	libv4l2.so:${PORTSDIR}/multimedia/libv4l

or (before r322328)

 LIB_DEPENDS=	v4l2:${PORTSDIR}/multimedia/libv4l

> +# /usr/bin/ld: warning: ../libv4lconvert/libv4lconvert.so.0, needed by /usr/local/lib/libv4l2.so.0, not found (try using -rpath or -rpath-link)
> +# /usr/local/lib/libv4l2.so.0: undefined reference to `v4lconvert_supported_dst_fmt_only'

This is multimedia/libv4l bug if you still can reproduce. Check with

 $ echo 'int main() { }' | cc -o /dev/null -xc -lv4l2 -L/usr/local/lib -
Comment 3 Jan Beich freebsd_committer freebsd_triage 2014-06-16 12:35:54 UTC
Closing as the issue was likely due to partial ports update.