summarylogtreecommitdiffstats
path: root/ncurses.patch
blob: 8e75687dd941150ed8ff22b8a2230775100365e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/GNUmakef.def
+++ b/GNUmakef.def
@@ -160,10 +160,11 @@
     LIBEXT=.a
     CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_STDARG_H
     ifeq ($(WIDE_NCURSES),1)
-        CFLAGS+=-I/usr/include/ncursesw/
-        LIBCURSES=-lncursesw
+        LIBCURSES=-L../../ncurses/usr/lib/ncurses-golded/lib -lncursesw
+        CFLAGS+=-I../../ncurses/usr/lib/ncurses-golded/include
     else
-        LIBCURSES=-lncurses
+        LIBCURSES=-L../../ncurses/usr/lib/ncurses-golded/lib -lncurses
+        CFLAGS+=-I../../ncurses/usr/lib/ncurses-golded/include
     endif
 endif
 endif
--- 1/GNUmakef.prg	2021-12-18 20:20:18.934724854 +0200
+++ 2/GNUmakef.prg	2021-12-18 20:20:24.094724915 +0200
@@ -13,9 +13,10 @@
 FGLIBS=$(addprefix $(FLIBPATH)/lib, $(addsuffix $(LIBEXT), $(GLIBS)))
 
 $(TOP)/$(BIN)/$(SHORTTARGET)$(PLATFORM)$(EXEEXT): $(OBJS) $(FGLIBS) $(ADDS)
-	@echo -n Linking $(TARGET)...
-	@$(CXX) $(LNKFLAGS) -o $@ $(FOBJPATH)/*$(OBJEXT) $(ADDS) $(LIBS) -L$(FLIBPATH)
-	@echo done
+	echo -n Linking $(TARGET)...
+	pwd
+	$(CXX) $(LNKFLAGS) -o $@ $(FOBJPATH)/*$(OBJEXT) $(ADDS) $(LIBS) -L$(FLIBPATH)
+	echo done
 
 $(FGLIBS): $(GLIBS)