#8506 closed patch (fixed)
configure prefix problem
Reported by: | SF/njoly | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
Hi,
I just encountered a small prefix configuration problem with CVS scummvm; when `--prefix' and, at least, one `--with-*-prefix' options are set to different path.
Indeed, the configure script, internally use `_prefix' variable for all prefix options. This can lead to an incorrect installation prefix value, as the last defined one will be used:
njoly@cixy [temp/scummvm]> ./configure --prefix=/local --with-mad-prefix=/usr/pkg [...] njoly@cixy [temp/scummvm.ko]> gmake -n install [...] mkdir -p tools/.deps cc -Wall -o tools/md5table tools/md5table.c install -d "/usr/pkg/bin" install -c -s -m 755 "./scummvm" "/usr/pkg/bin/scummvm" install -d "/usr/pkg/man/man6/" install -c -m 644 "./scummvm.6" "/usr/pkg/man/man6/scummvm.6" install -d "/usr/pkg/share/pixmaps/" install -c -m 644 "./scummvm.xpm" "/usr/pkg/share/pixmaps/scummvm.xpm" install -d "/usr/pkg/share/doc/scummvm/" install -c -m 644 "./AUTHORS" "./COPYING" "./NEWS" "./README" "/usr/pkg/share/doc/scummvm/"
I simply fixed this by renaming `_prefix' variable to `__prefix' for all `--with-*-prefix' options.
Hope this helps, Regards.
Ticket imported from: #1411577. Ticket imported from: patches/611.
Attachments (1)
Change History (4)
by , 19 years ago
Attachment: | scummvm-cfgprefix.diff added |
---|
comment:1 by , 19 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → --Other-- |
---|---|
Summary: | configure prefix problem → configure prefix problem |
Fix configure _prefix variable conflict