[gambit-list] 4.0b20 and later not respecting --prefix=

Marc Feeley feeley at iro.umontreal.ca
Thu Apr 5 21:36:29 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 5-Apr-07, at 9:23 PM, Arto Bendiken wrote:

> On 4/6/07, Robert D. Skeels <rdsathene at sbcglobal.net> wrote:
>> 4.0b22 doesn't seem to be respecting --prefix= at install. I looked
>> through the makefile and notice that there is a PACKAGE_SUBDIR (/
>> 4.0b22) appended to prefix.
>
> Indeed. I noticed the same thing last week when I created the MacPorts
> configuration for 4.0b20 [1].
>
>> Is there a way to work around this?
>
> I worked around it with lots of regex substitutions for each makefile
> in the distribution. Not pretty, but does the job. You could use the
> `sed' command to manually perform the substitutions in a similar
> manner as done in the MacPorts portfile [2].

If you really want to get rid of the "VERSION" subdirectory, the  
easiest approach is to change "configure" (and/or "configure.ac").   
You have to replace

PACKAGE_SUBDIR="/4.0b22"

with

PACKAGE_SUBDIR=""

Then run ./configure and make.

Marc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGFaQd//V9Zc2T/v4RAnzFAJ95nAz9v2NkvBARp5rLEFg/BucCAACeKpDE
VCvTbI3lRUlDnvOOiRuNFhU=
=IRa0
-----END PGP SIGNATURE-----



More information about the Gambit-list mailing list