[ scummvm-Patches-1411577 ] configure prefix problem

SourceForge.net noreply at sourceforge.net
Sat Jan 21 17:22:47 CET 2006


Patches item #1411577, was opened at 2006-01-21 17:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1411577&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nicolas Joly (njoly)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure prefix problem 

Initial Comment:
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 at cixy [temp/scummvm]> ./configure --prefix=/local
--with-mad-prefix=/usr/pkg
[...]
njoly at 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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1411577&group_id=37116




More information about the Scummvm-tracker mailing list