Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215426 | Differences between
and this patch

Collapse All | Expand All

(-)install.sh.orig (-2 / +2 lines)
Lines 33-40 Link Here
33
	PREFIX=/usr/local
33
	PREFIX=/usr/local
34
fi
34
fi
35
35
36
BINDIR=${PREFIX}/bin
36
BINDIR=${PREFIX}GENTOO_BINDIR
37
INSTALLDIR=${PREFIX}/share/mupen64plus
37
INSTALLDIR=${PREFIX}GENTOO_DATADIR
38
38
39
echo "Installing Mupen64Plus to $PREFIX"
39
echo "Installing Mupen64Plus to $PREFIX"
40
$INSTALL -D -s -m 0755 mupen64plus "${BINDIR}/mupen64plus" || exit $?
40
$INSTALL -D -s -m 0755 mupen64plus "${BINDIR}/mupen64plus" || exit $?
(-)main/main.c.orig (-1 / +1 lines)
Lines 982-988 Link Here
982
	if(strlen(g_InstallDir) == 0)
982
	if(strlen(g_InstallDir) == 0)
983
	{
983
	{
984
		strncpy(g_InstallDir, PREFIX, PATH_MAX);
984
		strncpy(g_InstallDir, PREFIX, PATH_MAX);
985
		strncat(g_InstallDir, "/share/mupen64plus/", PATH_MAX - strlen(g_InstallDir));
985
		strncat(g_InstallDir, "/mupen64plus/", PATH_MAX - strlen(g_InstallDir));
986
        
986
        
987
		// if install dir is not in the default location, try the same dir as the binary
987
		// if install dir is not in the default location, try the same dir as the binary
988
		if(!isdir(g_InstallDir))
988
		if(!isdir(g_InstallDir))

Return to bug 215426