mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #4300 from mrnuke/for-17.01-gpsd
utils/gpsd: Backport ncurses6 support from master
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
Index: gpsd-3.16/SConstruct
|
||||||
|
===================================================================
|
||||||
|
--- gpsd-3.16.orig/SConstruct
|
||||||
|
+++ gpsd-3.16/SConstruct
|
||||||
|
@@ -543,6 +543,10 @@ else:
|
||||||
|
ncurseslibs = pkg_config('ncurses')
|
||||||
|
if config.CheckPKG('tinfo'):
|
||||||
|
ncurseslibs += pkg_config('tinfo')
|
||||||
|
+ elif WhereIs('ncurses6-config'):
|
||||||
|
+ ncurseslibs = ['!ncurses6-config --libs --cflags']
|
||||||
|
+ elif WhereIs('ncursesw6-config'):
|
||||||
|
+ ncurseslibs = ['!ncursesw6-config --libs --cflags']
|
||||||
|
elif WhereIs('ncurses5-config'):
|
||||||
|
ncurseslibs = ['!ncurses5-config --libs --cflags']
|
||||||
|
elif WhereIs('ncursesw5-config'):
|
||||||
Reference in New Issue
Block a user