svn commit: r319306 - in head/shells/fish: . files

Adam Weinberger adamw at adamw.org
Wed May 29 15:50:40 UTC 2013


On 2013/05/29 01:00, Jason Helfman wrote:
> On Tue, May 28, 2013 at 11:02 AM, Boris Samorodov <bsam at passap.ru>
> wrote:
> 
>> 28.05.2013 17:50, Martin Wilke пишет:
>> 
>>>  post-install:
>> 
>>> +.for i in fish fish_indent fish_pager fishd mimedb
>>> +     @${STRIP_CMD} ${PREFIX}/bin/${i}
>>> +.endfor
>> 
>> Do we really allow dealing with files at $PREFIX?
> 
> This is the first time I've seen something like this, but I can't say
> it hasn't done before without more investigation. Beyond this, I don't
> see why this couldn't be done as a post-build target, but I also don't
> know if there are any issues preventing this route.

Many autotools-based programs relink libraries and executables during 
the install target. Sometimes waiting until it's been placed into PREFIX 
is the only way to access the final edition.

Also I'm not really sure why we wouldn't allow dealing with files at 
PREFIX in the manner that miwi's commit handles it.

To me, I'd think the bigger question is why it isn't stripping the 
executables already as part of the install target, as autotools stuff 
usually DTRT.

# Adam


---
Adam Weinberger
adamw at adamw.org
http://www.adamw.org

> 
> -jgh
> 
> --
> Jason Helfman          | FreeBSD Committer
> jgh at FreeBSD.org     | http://people.freebsd.org/~jgh [1]  | The
> Power to Serve
> 
> 
> Links:
> ------
> [1] http://people.freebsd.org/%7Ejgh


More information about the svn-ports-all mailing list