Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 15:01:02 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "Peter W. Schmiedeskamp" <pschmied@selway.umt.edu>, Alan Eldridge <alane@geeksrus.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: porting question.
Message-ID:  <p05101408b8a2e60d1e36@[128.113.24.47]>
In-Reply-To: <20020227060451.3C49037B443@hub.freebsd.org>
References:  <20020227040423.B503A37B402@hub.freebsd.org> <20020227041200.GA44309@wwweasel.geeksrus.net> <20020227060451.3C49037B443@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:03 PM -0700 2/26/02, Peter W. Schmiedeskamp wrote:
>Can anyone reccommend a good default umask value for porting,
>and how I should go about setting that (it looks like I set
>the umask of a process, but I'm not sure how I would go about
>that in the Makefile)

You do not want to set a umask.  Well, actually, you probably
do, for your own benefit, but that is not how you should fix
the port.

To fix the port, you should specify an explicit "mode" that
each file should be installed with.  If you look in the Makefile
for some other ports, you will probably see things like:

      $(INSTALL) -m $(SOMETHING) name name $(DESTDIR)$(bindir)

The '-m' will set the mode of the files as they are installed.

(this is in the makefile for the program itself, ie, inside the
work/* directory -- not the makefile at the "port level").

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

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?p05101408b8a2e60d1e36>