summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2016-09-17 15:23:42 +0000
committerrichard <richard@pkgsrc.org>2016-09-17 15:23:42 +0000
commitf4984db6a4215618636bb0e4221928a356891e7e (patch)
tree33e615b00c262c522d70dc273ab8d4d28e4d8843 /net
parent32d4ad59c096d0beb5530d1b95471a984eafa9a3 (diff)
downloadpkgsrc-f4984db6a4215618636bb0e4221928a356891e7e.tar.gz
Add a build dependency to ncurses to avoid -Werror=missing-include-dirs
when there is no native ncurses installed... g-ir-scanner sees that py_curses.h seems to need ncurses, as pyconfig.h says we should have it.
Diffstat (limited to 'net')
-rw-r--r--net/libsoup/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/libsoup/Makefile b/net/libsoup/Makefile
index edad9dc6628..ee962a2360f 100644
--- a/net/libsoup/Makefile
+++ b/net/libsoup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2016/05/03 11:37:39 prlw1 Exp $
+# $NetBSD: Makefile,v 1.27 2016/09/17 15:23:42 richard Exp $
DISTNAME= libsoup-2.54.1
CATEGORIES= net gnome
@@ -45,6 +45,12 @@ REPLACE_PYTHON= libsoup/tld-parser.py
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
+# The following is to avoid -Werror=missing-include-dirs when there
+# is no native ncurses installed... g-ir-scanner sees that py_curses.h
+# seems to need ncurses, as pyconfig.h says we should have it
+BUILDLINK_DEPMETHOD.ncurses?= build
+.include "../../devel/ncurses/buildlink3.mk"
+
.include "../../databases/sqlite3/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
.include "../../devel/glib2/buildlink3.mk"