From owner-freebsd-ports@FreeBSD.ORG Sat Mar 4 13:42:29 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14E6D16A420; Sat, 4 Mar 2006 13:42:29 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37C0643D6B; Sat, 4 Mar 2006 13:42:20 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA00135; Sat, 04 Mar 2006 15:42:13 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <44099935.6040205@icyb.net.ua> Date: Sat, 04 Mar 2006 15:42:13 +0200 From: Andriy Gapon User-Agent: Thunderbird 1.5 (X11/20060222) MIME-Version: 1.0 To: Dirk Meyer References: <43FEFD30.2080605@icyb.net.ua> <7397fGT8Ff@dmeyer.dinoex.sub.org> In-Reply-To: <7397fGT8Ff@dmeyer.dinoex.sub.org> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: danfe@freebsd.org, freebsd-ports@freebsd.org Subject: Re: GNUSTEP_PREFIX not in bsd.gnustep.mk ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 13:42:29 -0000 on 04/03/2006 11:02 Dirk Meyer said the following: > Andriy Gapon schrieb:, >> Wouldn't it be reasonable to define some default value for this variable >> in ports/Mk/bsd.gnustep.mk ? For example many ports have to have the >> following line now: >> GNUSTEP_PREFIX?=${LOCALBASE}/GNUstep >> (please note ?= operator) > > No. This changes where for some reason, > they allows ports like ruby-gnustep and others bindings > to use bsd.gnustep.mk with the default prefix. I don't get it. devel/ruby-gnustep/Makefile has: GNUSTEP_PREFIX?= ${LOCALBASE}/GNUstep Also: $ glimpse -l GNUSTEP_PREFIX > gpref.lst $ glimpse -l USE_GNUSTEP > gstep.lst $ diff -U 0 gpref.lst gstep.lst --- gpref.lst Sat Mar 4 15:31:04 2006 +++ gstep.lst Sat Mar 4 15:31:23 2006 @@ -1,0 +2,1 @@ +/usr/ports/Mk/bsd.port.mk @@ -3,0 +6 @@ +/usr/ports/devel/portmk/Mk/bsd.port.mk @@ -27,0 +31,3 @@ +/usr/ports/Tools/scripts/portsvar.sh +/usr/ports/games/oolite/Makefile +/usr/ports/graphics/cenon/Makefile Also: $ glimpse -h 'GNUSTEP_PREFIX.*=' | sort -u GNUSTEP_PREFIX?= ${LOCALBASE}/GNUstep MAKE_ARGS+= GNUSTEP_PREFIX=${PREFIX}/System This basically means that every port depending on GNUstep (except for those two that were originally missed) has GNUSTEP_PREFIX?= ${LOCALBASE}/GNUstep line in its Makefile. So, I'd like to suggest again to put this line into bsd.gnustep.mk, instead of having it in each of the ports in question. Did I misunderstood or misinterpret something ? -- Andriy Gapon