Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 95 00:28:04 +0100
From:      jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi)
To:        asami@cs.berkeley.edu
Cc:        jkh@freefall.cdrom.com, ports@FreeBSD.org
Subject:   Re: cvs commit: /host/freefall/a/ncvs/ports/lang/forth Makefile
Message-ID:  <9504222328.AA16072@cabri.obs-besancon.fr>
In-Reply-To: <199504222033.NAA24744@silvia.HIP.Berkeley.EDU> (asami@cs.berkeley.edu)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Satoshi" == Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?= <asami@cs.berkeley.edu> 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
    =========================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504222328.AA16072>