The shell commands spell, sort ... are called useing /bin/csh. I'm useing bash so it squawks. Editing preferance.c where 5.3 patch adds #else "/bin/csh" #endif Editing it to "/bin/bash" in place of /bin/csh is my quick hack. I'm useing gcc-3.4.1 and linux26-headers. Maybe __MVS__ and __EMX__ aren't defined any more? Reproducible: Always Steps to Reproduce: 1.emerge nedit 2. 3. Actual Results: builds expecting /bin/csh Expected Results: builds for bash Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r2) ================================================================= System uname: 2.6.8-gentoo-r2 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -fomit-frame-pointer -O2 -falign-jumps -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -fomit-frame-pointer -O2 -falign-jumps -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox userpriv" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://128.213.5.34/gentoo/" MAKEOPTS="-j3 " PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts async autofs avi berkdb chroot crypt cups dillo doc encode esd foomaticdb freetype gdbm gif gpm gtk gvim hpijs imagemagick imlib jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang snmp spell ssl svga tcpd truetype type1 unicode x86 xml2 xmms xv zlib"
I greped for __MVS__ and __EMX__ in /usr/include/* and only __MVS__ is defined in /usr/include/zconf.h. Hope this saves you 5 minutes.
please provide a complete patch
Created attachment 39338 [details, diff] Diff -u hedit...pre20030213 nedit-5.4.ebuild The problem is that going from _pre20030213 to 5.4.ebuild. src_unpack got leff out. The attckment is a ditt -u of the 2 ebuilds.
Created attachment 39475 [details, diff] Patch of nedit-5.4.ebuild Install by " patch -p0<ebuild54.diff
Created attachment 39476 [details, diff] Patch for Nedit Makefile.linux and source/preference.c Put in nedit/files. Patch ebuild ( ebuild54.diff in nedit and patch for the above) and then "emerge nedit". Heinrich I haven't been able to fully test this as scince yesterday I had to reinstall gnome, it dissapeared?, and go up gtk2, anyway, any version of nedit even 5.3 die with .o ../util/libNUtil.a -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm -o nedit /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXp collect2: ld returned 1 exit status make[1]: *** [nedit] Error 1 make[1]: Leaving directory `/home/tmp/portage/nedit-5.4/work/nedit-5.4/source' make: *** [linux] Error 2 Ive learned alot but unless youve got a easy fix I'm tired ;^) I've over 8 hours in this learning experince so for tonight and tommorrow no more.
Created attachment 39974 [details, diff] Finished ebuild patch This a finished patch for the ebuild. There one minor squak out out of it or maybe its form portage-2.0.51_rc1. Emerge gives this warning " QA Notice: ECLASS 'EUTILS' inherited illegally...." and the same for gcc.
/bin/csh is replaced with /bin/sh in nedit-5.5. i don't see a reason for the ispell changes.