summaryrefslogtreecommitdiffhomepage
path: root/patches/moe-1.12_pre.local.patch
blob: b5abbc7a3f3a0e3a1f440b375559a45e16d66fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ru moe-1.12.orig/configure moe-1.12/configure
--- moe-1.12.orig/configure	2022-01-20 17:28:29.000000000 +0100
+++ moe-1.12/configure	2022-02-03 23:41:43.452057383 +0100
@@ -23,9 +23,9 @@
 sysconfdir='$(prefix)/etc'
 CXX=g++
 CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
+CXXFLAGS ?= '-Wall -W -O2'
 LDFLAGS=
-LIBS=-lncurses
+LIBS='-lncurses -ltinfo'
 
 # checking whether we are using GNU C++.
 /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }