summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geography/gpsd/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/geography/gpsd/Makefile b/geography/gpsd/Makefile
index 91206f957a9..86ded73d857 100644
--- a/geography/gpsd/Makefile
+++ b/geography/gpsd/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.35 2017/03/19 00:23:00 gdt Exp $
+# $NetBSD: Makefile,v 1.36 2017/03/19 16:31:43 gdt Exp $
# gpsd 3.11 has been released. It has only not been updated because
# newer versions use scons.
DISTNAME= gpsd-2.96
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= geography
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/gpsd/
@@ -24,8 +24,15 @@ PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.96
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c99 c++
-# gpsd uses syncok, which is in pkgsrc ncurses but not NetBSD system curses
-CURSES_DEFAULT= ncurses
+
+# gpsd looks for ncurses but not curses. (Not yet filed upstream.)
+FAKE_NCURSES= yes
+
+# gpsd uses syncok (which at least NetBSD curses lacks).
+USE_CURSES+= syncok
+# However, syncok isn't tested in mk/curses.builtin.mk. For now, test
+# another feature that NetBSD curses lacks.
+USE_CURSES+= getsyx
CFLAGS.SunOS= -DLOG_PERROR=0