Fw: Patch to pkg.m for FreeBSD 6.3
Ryan Hinton
rwh4s at virginia.edu
Tue Feb 26 10:14:39 CST 2008
Forgot to copy Maho and the list.
----- Original Message -----
From: "Ryan Hinton" <rwh4s at virginia.edu>
To: "John W. Eaton" <jwe at bevo.che.wisc.edu>
Sent: Tuesday, February 26, 2008 11:12 AM
Subject: Re: Patch to pkg.m for FreeBSD 6.3
>
> ----- Original Message -----
> From: "John W. Eaton" <jwe at bevo.che.wisc.edu>
> To: "Ryan Hinton" <rwh4s at virginia.edu>
> Cc: <bug at octave.org>; <maho at FreeBSD.org>
> Sent: Tuesday, February 26, 2008 2:25 AM
> Subject: Patch to pkg.m for FreeBSD 6.3
>
>
>> On 25-Feb-2008, Ryan Hinton wrote:
>>
>> | Sorry for the piecemeal patches. Apparently this is another BSD-ism:
>> | make is not GNU make, just like tar is not GNU tar. Consequently, to
>> | build correctly, the attached patch is needed to scripts/pkg/pkg.m to
>> | install most packages from octave-forge.
>> |
>> | Questions are welcome.
>> |
>> | ---
>> | Ryan Hinton
>> | rwh4s at virginia.edu
>> |
>> | --- scripts/pkg/pkg.m~ 2007-12-20 16:55:26.000000000 +0000
>> | +++ scripts/pkg/pkg.m 2008-02-25 16:32:59.000000000 +0000
>> | @@ -1052,7 +1052,7 @@
>> | ## make
>> | if (exist (fullfile (src, "Makefile"), "file"))
>> | [status, output] = shell (strcat ("export INSTALLDIR=\"",
>> desc.dir,
>> | - "\"; make -C ", src));
>> | + "\"; gmake -C ", src));
>> | if (status != 0)
>> | rm_rf (desc.dir);
>> | error ("'make' returned the following error: %s", output);
>>
>> Fixing this problem will be a little more complicated. Simply
>> changing make to gmake would cause trouble on many systems that have
>> GNU Make installed as "make" and that don't have any "gmake" program
>> installed.
>>
>> jwe
>
> True. For someone experienced with configure scripts and such it probably
> wouldn't be too hard to switch between "make" and "gmake". As Maho
> pointed out in a subsequent email, I provided this as a patch for the
> FreeBSD ports system, so it should work just fine on FreeBSD (but not
> other BSD systems) until we find an autotools expert to help fix the
> problem upstream.
>
> Thanks!
>
> ---
> Ryan Hinton
> rwh4s at virginia.edu
>
More information about the Bug-octave
mailing list