Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2009 16:22:19 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/130288: linux_base-f8 conflicts linux-glib2, about www/linux-nvu
Message-ID:  <200901080722.n087MJxK015957@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <200901080730.n087U3Jc020650@freefall.freebsd.org>

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

>Number:         130288
>Category:       ports
>Synopsis:       linux_base-f8 conflicts linux-glib2, about www/linux-nvu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 08 07:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.1-STABLE FreeBSD 7.1-STABLE #17: Wed Jan 7 11:14:01 JST 2009 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	www/linux-nvu requires devel/linux-glib2, even if linux_base-f8 is
	installed.
	linux_base-f8 installs /compat/linux/lib/libgobject-2.0.so.0,
	and /compat/linux/usr/lib/libgobject-2.0.so.0 does not exist.
	linux_base-f8 conflicts linux-glib2, therefore installing
	linux-glib2 by depencency fails.
	
>How-To-Repeat:
	
>Fix:
	here is a patch (be careful about a file to patch):

--- www/linux-seamonky/Makefile.common.orig	2007-12-21 06:11:34.000000000 +0900
+++ www/linux-seamonky/Makefile.common	2009-01-08 16:14:05.000000000 +0900
@@ -12,12 +12,19 @@
 .endif
 PKGNAMEPREFIX?=		linux-
 
-RUN_DEPENDS?=	${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \
+.if !defined(RUN_DEPENDS)
+RUN_DEPENDS=	${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \
 		${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \
 		${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango\
-		${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
 		${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
 		${LINUXBASE}/usr/share/icons/hicolor/index.theme:${PORTSDIR}/x11-themes/linux-hicolor-icon-theme
+.if !defined(OVERRIDE_LINUX_BASE_PORT) || \
+    (${OVERRIDE_LINUX_BASE_PORT} != "fc6" && \
+    ${OVERRIDE_LINUX_BASE_PORT} != "f7" && \
+    ${OVERRIDE_LINUX_BASE_PORT} != "f8")
+RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2
+.endif
+.endif
 
 NO_BUILD=	yes
 ONLY_FOR_ARCHS=	i386 amd64
	


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



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