-----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@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-----