Date: Wed, 28 Aug 2002 11:15:38 -0700 (PDT) From: "Bruce A. Mah" <bmah@packetdesign.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42134: linux-gtk PORTREVISION contaminates other ports Message-ID: <200208281815.g7SIFcEx002613@nimitz.packetdesign.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208281815.g7SIFcEx002613>