Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 12:54:01 +0100 (BST)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124820: [patch] www/opera missing RUN_DEPENDS
Message-ID:  <200806211154.m5LBs15c089426@buffy.york.ac.uk>
Resent-Message-ID: <200806211200.m5LC0A8B038356@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806211154.m5LBs15c089426>