From owner-freebsd-ports Wed Aug 28 11:20:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16E0B37B400 for ; Wed, 28 Aug 2002 11:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A28943E6A for ; Wed, 28 Aug 2002 11:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7SIK2JU027052 for ; Wed, 28 Aug 2002 11:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7SIK2aM027051; Wed, 28 Aug 2002 11:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B78B337B400 for ; Wed, 28 Aug 2002 11:15:39 -0700 (PDT) Received: from mailman.packetdesign.com (dns.packetdesign.com [65.192.41.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 570E543E3B for ; Wed, 28 Aug 2002 11:15:39 -0700 (PDT) (envelope-from bmah@packetdesign.com) Received: from nimitz.packetdesign.com (nimitz.packetdesign.com [192.168.0.184]) by mailman.packetdesign.com (8.11.6/8.11.6) with ESMTP id g7SIFdx81670 for ; Wed, 28 Aug 2002 11:15:39 -0700 (PDT) (envelope-from bmah@packetdesign.com) Received: from nimitz.packetdesign.com (localhost [IPv6:::1]) by nimitz.packetdesign.com (8.12.5/8.12.5) with ESMTP id g7SIFcbE002614 for ; Wed, 28 Aug 2002 11:15:38 -0700 (PDT) (envelope-from bmah@nimitz.packetdesign.com) Received: (from bmah@localhost) by nimitz.packetdesign.com (8.12.5/8.12.5/Submit) id g7SIFcEx002613; Wed, 28 Aug 2002 11:15:38 -0700 (PDT) (envelope-from bmah) Message-Id: <200208281815.g7SIFcEx002613@nimitz.packetdesign.com> Date: Wed, 28 Aug 2002 11:15:38 -0700 (PDT) From: "Bruce A. Mah" Reply-To: "Bruce A. Mah" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42134: linux-gtk PORTREVISION contaminates other ports Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42134 >Category: ports >Synopsis: linux-gtk PORTREVISION contaminates other ports >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 28 11:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bruce A. Mah >Release: FreeBSD 4.6-STABLE i386 >Organization: Packet Design >Environment: System: FreeBSD nimitz.packetdesign.com 4.6-STABLE FreeBSD 4.6-STABLE #41: Mon Aug 26 12:45:17 PDT 2002 root@nimitz.packetdesign.com:/usr/obj/usr/src/sys/NIMITZ i386 >Description: Several ports (such as linux-jpeg and linux-png) use the linux-gtk port's Makefile to provide some of their build infrastructure for locating RPMs. In order to facilitate this reuse, a number of the port's Makefile variables are set conditionally (e.g. "PORTNAME?="), so that they can be overridden by other ports. Unfortunately, PORTREVISION isn't one of these. Therefore, any port that include linux-gtk/Makefile will have a PORTREVISION equal to whatever linux-gtk uses (currently 2). There is no way for these other ports to override this setting in their own Makefiles with PORTREVISION=0. >How-To-Repeat: With linux-png installed: % pkg_version -v -s linux-png % grep PORTREVISION /usr/ports/graphics/linux-png >Fix: In ports/x11-toolkits/linux-gtk/Makefile, change "PORTREVISION=" to "PORTREVISION?=". It might be necessary to do PORTREVISION bumps or other hacks to linux-png, linux-jpeg, et al. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message