diff options
Diffstat (limited to 'app-editors/jasspa-microemacs/files/20091011-ncurses.patch')
-rw-r--r-- | app-editors/jasspa-microemacs/files/20091011-ncurses.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-editors/jasspa-microemacs/files/20091011-ncurses.patch b/app-editors/jasspa-microemacs/files/20091011-ncurses.patch new file mode 100644 index 000000000000..92a2885895b1 --- /dev/null +++ b/app-editors/jasspa-microemacs/files/20091011-ncurses.patch @@ -0,0 +1,15 @@ +--- me091011-orig/src/linux26.gmk ++++ me091011/src/linux26.gmk +@@ -66,12 +66,7 @@ + # accomplish this try to compile test.c and see if it can link termcap. For + # Linux 2.6 then preference would appear to be "ncurses" rather than "termcap". + # +-test = $(shell echo "\#include <stdio.h>" > _t.c ; echo "main() { printf(\"HW\n\"); }" >> _t.c ; $(LD) $(LDFLAGS) -o /dev/null -lncurses _t.c 2>&1 ; rm -f _t.c) +-ifneq "$(strip $(test))" "" +-CONSOLE_LIBS = -ltermcap +-else + CONSOLE_LIBS = -lncurses +-endif + # + # Rules + .SUFFIXES: .c .oc .ow .ob .on .ov .oe .odc .odw .odb .odn .odv .ode |