From owner-freebsd-ports Sat Apr 22 15:28:15 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA05414 for ports-outgoing; Sat, 22 Apr 1995 15:28:15 -0700 Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA05407 for ; Sat, 22 Apr 1995 15:28:08 -0700 Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA16072; Sun, 23 Apr 95 00:28:04 +0100 Date: Sun, 23 Apr 95 00:28:04 +0100 From: jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi) Message-Id: <9504222328.AA16072@cabri.obs-besancon.fr> To: asami@cs.berkeley.edu Cc: jkh@freefall.cdrom.com, ports@FreeBSD.org In-Reply-To: <199504222033.NAA24744@silvia.HIP.Berkeley.EDU> (asami@cs.berkeley.edu) Subject: Re: cvs commit: /host/freefall/a/ncvs/ports/lang/forth Makefile X-Mailer: Emacs Sender: ports-owner@FreeBSD.org Precedence: bulk >>>>> "Satoshi" == Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?= writes: > * NOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!! > * Are you crazy guys? This change implies that PREFIX can't be set to > * anything different from /usr/local. In this case it is even better to > * remove all references to PREFIX and replace them with /usr/local :-( > No it's not. All this means that if somebody is going to change > PREFIX, she just needs to populate it first with empty directories. > We are assuming that a person who has such a strong preference on > directory structures knows what she's doing enough to do it herself. But one may want to install port X in /usr/X, port Y in /usr/Y and port Z in /usr/local. Your proposal force us to install all ports in /usr/local or /usr/X11R6. > Let's face it, the way the ports Makefiles are right now it's > downright ugly, with all sorts of mkdir's scattered all over the > place. You are exagerating :-) they are only in pre-install and in install targets. And this not ugly - this is beautiful, because I can do 'make PREFIX=/any/where' > place. And it's not consistent, not even half the Makefiles have > the necessary mkdir calls. This is confusing at best. I will say 'half the Makefiles have the necessary mkdir calls'. This is good. The other half needs to be fixed. > Unless someone is going to fix all the existing Makefiles to create > all the necessary directories, with all the CORRECT PERMISSIONS AND > OWNERSHIPS, we can never go the other way. And I don't think it's > worth it, 'cause these directories need to be created only once > anyway. Right now, we are just putting unduly burden on the porters. Porters must fix their makefiles and create the directories in a pre-install target if needed. This is not difficult: make PREFIX=/tmp/XXX do rm -rf /tmp/XXX; mkdir /tmp/XXX; make install PREFIX=/tmp/XXX edit the makefile until the install works. > Satoshi "see, I told you I'm a tyrant :)" Asami Jean-Marc ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Jean-Marc Zucconi | jmz@cabri.obs-besancon.fr Observatoire de Besancon | F 25010 Besancon cedex | PGP Key: finger jmz@cabri.obs-besancon.fr =========================================================================