Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 24699
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Holzer (RETIRED) <mholzer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin C. Petersen <mcp@phys.au.dk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mp-3.2.8.ebuild ebuild for mp-3.2.8 text/plain Martin C. Petersen 2003-07-17 15:16 0000 875 bytes Details
mp-3.2.8.ebuild Corrected ebuild for mp-3.2.8 editor text/plain Martin C. Petersen 2003-07-24 13:13 0000 885 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 24699 depends on: Show dependency tree
Bug 24699 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Martin C. Petersen 2003-07-17 15:16:33 0000 -------
Created an attachment (id=14635) [details]
ebuild for mp-3.2.8

------- Comment #2 From Martin Holzer (RETIRED) 2003-07-24 12:32:53 0000 -------
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

------- Comment #3 From Martin C. Petersen 2003-07-24 13:12:09 0000 -------
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..

------- Comment #4 From Martin C. Petersen 2003-07-24 13:13:17 0000 -------
Created an attachment (id=14966) [details]
Corrected ebuild for mp-3.2.8 editor

------- Comment #5 From Martin Holzer (RETIRED) 2003-09-24 12:22:14 0000 -------
added in cvs

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug