Date: Wed, 28 Aug 2002 23:10:04 -0700 (PDT) From: Trevor Johnson <trevor@jpj.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/42134: linux-gtk PORTREVISION contaminates other ports Message-ID: <200208290610.g7T6A43o090309@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/42134; it has been noted by GNATS. From: Trevor Johnson <trevor@jpj.net> To: "Bruce A. Mah" <bmah@packetdesign.com> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/42134: linux-gtk PORTREVISION contaminates other ports Date: Thu, 29 Aug 2002 02:02:19 -0400 (EDT) > 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. If, instead of including the linux-gtk Makefile, those other ports (and linux-gtk itself) included some other Makefile without a PORTREVISION line, then the problem would be solved, wouldn't it? The appropriate place for such a Makefile would likely be in ports/Mk/ (calling it bsd.redhat.mk could result in legal problems). -- Trevor Johnson 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?200208290610.g7T6A43o090309>