Bug 24699 - mp-3.2.8 (update)
|
Bug#:
24699
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: mholzer@gentoo.org
|
Reported By: mcp@phys.au.dk
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: mp-3.2.8 (update)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2003-07-17 15:15 0000
|
This ebuild is for the latest version of the mp editor (3.2.8).
Also use variables have been added to check for gtk+/ncurses support (the
ebuild for 3.2.7 failed when gtk+ was not installed).
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
try something like that and update your ebuild
if [ -n "`use ncurses`" && -n "`use gtk`" ]
then emake || die
elif [ -n "`use ncurses`" ]
then emake gmp || die
else die "You need ncurses and/or gtk in your USE variables"
fi
Actually it should have been:
if [ -n "`use ncurses`" ]; then
if [ -n "`use gtk`" ]; then emake || die; else emake mp || die; fi;
elif [ -n "`use gtk`" ]; then emake gmp || die;
else die "You need ncurses and/or gtk in your USE variables";
fi
This is of course equivalent to:
if [ -n "`use ncurses`" ] && [ -n "`use gtk`" ]; then emake || die;
elif [ -n "`use ncurses`" ]; then emake mp || die;
elif [ -n "`use gtk`" ]; then emake gmp || die;
else die "You need ncurses and/or gtk in your USE variables";
fi
Since the latter looks better I'll pick that style..