Re: make vs. gmake in 6-CURRENT...

From: Giorgos Keramidas <keramida_at_linux.gr>
Date: Thu, 16 Dec 2004 15:47:01 +0200
On 2004-12-15 23:18, Chuck Swiger <cswiger_at_mac.com> wrote:
> Hi, all--
>
> Apparently something has changed with BSD make in -CURRENT, causing the
> following problem to appear in a port I maintain:
>
> [ ... ]
> ===>  Installing for dvd+rw-tools-5.21.4.10.8
> ===>   dvd+rw-tools-5.21.4.10.8 depends on file: /usr/local/bin/mkisofs  -
> found
> ===>   Generating temporary packing list
> install  -s -o root -g wheel -m 555
> /usr/ports/sysutils/dvd+rw-tools/work/dvd+rw-tools-5.21.4.10.8/ growisofs
> /usr/local/bin
> install:  /usr/ports/sysutils/dvd+rw-tools/work/dvd+rw-tools-5.21.4.10.8/
> growisofs: No such file or directory
> *** Error code 71
>
> Note the space in ".../dvd+rw-tools-5.21.4.10.8/ growisofs", which command
> was generated by the following Makefile section:
>
> do-install:
> .for i in ${BIN_FILES}
>         ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
> .endfor
>
> Since I don't have a system running 6, I was fortunate to have someone look
> into the issue and fix the port by having it use gmake instead. (thanks BTW)
>
> However, it seems like that space-stuffing when generating paths would
> break lots of other things.  Anyway, I wanted to bring up the issue here
> and ask whether this change to make's behavior is expected or whether it
> should be considered a bug...?

Revision 1.16 of the port Makefile doesn't build a growisofs executable.

I am not a great BSD make hacker, but the makefile that comes with the
port tries to build more than one program from the same directory and
somehow fails.

If we don't have the ability to reorganize things within the distfile
(because, e.g. the creator of dvd+rw-tools distfile does not target just
FreeBSD), using gmake seems to be the way to go.
Received on Thu Dec 16 2004 - 12:47:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC