From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 13 20:20:34 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB8DE16A41F for ; Tue, 13 Dec 2005 20:20:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 935C943D96 for ; Tue, 13 Dec 2005 20:20:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBDKK3Hd002023 for ; Tue, 13 Dec 2005 20:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBDKK3cl002022; Tue, 13 Dec 2005 20:20:03 GMT (envelope-from gnats) Resent-Date: Tue, 13 Dec 2005 20:20:03 GMT Resent-Message-Id: <200512132020.jBDKK3cl002022@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spoerlein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ED1D16A424; Tue, 13 Dec 2005 20:14:03 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84A4B43D58; Tue, 13 Dec 2005 20:14:02 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 71F0713F2EA; Tue, 13 Dec 2005 21:14:01 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 598669DDB2; Tue, 13 Dec 2005 21:14:01 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 3B8DB9DD9F; Tue, 13 Dec 2005 21:14:01 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 2AEF413F2EA; Tue, 13 Dec 2005 21:14:01 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id jBDKE0oM032570; Tue, 13 Dec 2005 21:14:01 +0100 (CET) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id jBDKE0cN025010; Tue, 13 Dec 2005 21:14:00 +0100 (CET) (envelope-from q@roadrunner.q.local) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id jBDKE0V4095683; Tue, 13 Dec 2005 21:14:00 +0100 (CET) (envelope-from q@roadrunner.q.local) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id jBDKE0QG095682; Tue, 13 Dec 2005 21:14:00 +0100 (CET) (envelope-from q) Message-Id: <200512132014.jBDKE0QG095682@roadrunner.q.local> Date: Tue, 13 Dec 2005 21:14:00 +0100 (CET) From: Ulrich Spoerlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: netchild@FreeBSD.org Subject: ports/90345: [PATCH] Fix excessive RUN_DEPENDS on archivers/rpm X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ulrich Spoerlein List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 20:20:34 -0000 >Number: 90345 >Category: ports >Synopsis: [PATCH] Fix excessive RUN_DEPENDS on archivers/rpm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 13 20:20:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: >Description: I noticed this because mplayer and dvdrip depend on archivers/rpm on my system. The problem is with some ports setting their BUILD_DEPENDS=RUN_DEPENDS, even if no extra BUILD_DEPENDS are actually required. >How-To-Repeat: % cd /usr/ports/*/linux-gtk2 % make -V BUILD_DEPENDS -V RUN_DEPENDS /compat/linux/usr/lib/libglib-2.0.so.0:/usr/ports/devel/linux-glib2 /compat/linux/usr/lib/libatk-1.0.so.0:/usr/ports/accessibility/linux-atk /compat/linux/usr/lib/libjpeg.so.62:/usr/ports/graphics/linux-jpeg /compat/linux/usr/lib/libpng12.so.0:/usr/ports/graphics/linux-png /compat/linux/usr/lib/libtiff.so.3:/usr/ports/graphics/linux-tiff /compat/linux/usr/lib/libpango-1.0.so.0:/usr/ports/x11-toolkits/linux-pango rpm:/usr/ports/archivers/rpm /compat/linux/usr/lib/libglib-2.0.so.0:/usr/ports/devel/linux-glib2 /compat/linux/usr/lib/libatk-1.0.so.0:/usr/ports/accessibility/linux-atk /compat/linux/usr/lib/libjpeg.so.62:/usr/ports/graphics/linux-jpeg /compat/linux/usr/lib/libpng12.so.0:/usr/ports/graphics/linux-png /compat/linux/usr/lib/libtiff.so.3:/usr/ports/graphics/linux-tiff /compat/linux/usr/lib/libpango-1.0.so.0:/usr/ports/x11-toolkits/linux-pango rpm:/usr/ports/archivers/rpm /compat/linux/etc/redhat-release:/usr/ports/emulators/linux_base-8 /compat/linux/usr/X11R6/lib/libXrender.so.1:/usr/ports/x11/linux-XFree86-libs Please notice, that archivers/rpm has become a RUN_DEPENDS, which certainly is not the case (meaning that rpm is not really needed to have the port/package working) >Fix: Index: linux-gtk2/Makefile =================================================================== RCS file: /home/ncvs/ports/x11-toolkits/linux-gtk2/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- linux-gtk2/Makefile 22 Nov 2005 19:53:49 -0000 1.18 +++ linux-gtk2/Makefile 13 Dec 2005 20:07:05 -0000 @@ -19,13 +19,12 @@ COMMENT= GTK+ library, version 2.X, Linu # these libraries are required by gtk-query-immodules-2.0 or # gdk-pixbuf-query-loaders -BUILD_DEPENDS+= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \ +RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \ ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \ ${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \ ${LINUXBASE}/usr/lib/libpng12.so.0:${PORTSDIR}/graphics/linux-png \ ${LINUXBASE}/usr/lib/libtiff.so.3:${PORTSDIR}/graphics/linux-tiff \ ${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango -RUN_DEPENDS+= ${BUILD_DEPENDS} ONLY_FOR_ARCHS= i386 amd64 PLIST= ${PKGDIR}/pkg-plist Index: linux-pango/Makefile =================================================================== RCS file: /home/ncvs/ports/x11-toolkits/linux-pango/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- linux-pango/Makefile 20 Nov 2005 16:19:25 -0000 1.9 +++ linux-pango/Makefile 13 Dec 2005 20:07:05 -0000 @@ -16,12 +16,10 @@ MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX MASTER_SITE_SUBDIR= 3/i386/os/Fedora/RPMS # these libraries are required by pango-querymodules -BUILD_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs \ +RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs \ ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \ ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \ ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat - -RUN_DEPENDS= ${BUILD_DEPENDS} USE_XLIB= yes ONLY_FOR_ARCHS= i386 amd64 >Release-Note: >Audit-Trail: >Unformatted: