ports/124820: [patch] www/opera missing RUN_DEPENDS

Gavin Atkinson gavin at FreeBSD.org
Sat Jun 21 12:00:13 UTC 2008


>Number:         124820
>Category:       ports
>Synopsis:       [patch] www/opera missing RUN_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 12:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Atkinson
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD buffy.york.ac.uk 7.0-STABLE FreeBSD 7.0-STABLE #3: Fri Jun 20 09:21:51 UTC 2008 root at buffy.york.ac.uk:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	I've got a minimal i386 jail on my amd64 host, which I use to run Opera.
As a result, it has none of the Xorg ports installed.  In this environment,
installing Opera fails because it doesn't have the X libraries that it needs - as
these are not listed as rependencies in the Makefile.

>How-To-Repeat:
	[install clean i386 system]
	% cd /usr/ports/www/opera && make all install
	% setenv DISPLAY some.host.with.xorg:0
	% opera
	/usr/libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by "opera"

>Fix:

--- opera-deps.diff begins here ---
--- Makefile.old	2008-06-06 15:07:05.000000000 +0100
+++ Makefile	2008-06-21 12:48:16.000000000 +0100
@@ -29,6 +29,10 @@
 MAINTAINER=	freebsd-maintainer at opera.com
 COMMENT=	A blazingly fast, full-featured, standards-compliant browser
 
+RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/x11.pc:${PORTSDIR}/x11/libX11 \
+		${LOCALBASE}/libdata/pkgconfig/xext.pc:${PORTSDIR}/x11/libXext \
+		${LOCALBASE}/libdata/pkgconfig/sm.pc:${PORTSDIR}/x11/libSM
+
 OPERA_VER=	9.27
 OPERA_MINVER=
 OPERA_REL=	final
--- opera-deps.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list