summaryrefslogtreecommitdiff
path: root/net/libsoup
diff options
context:
space:
mode:
authorrichard <richard>2016-09-17 15:23:42 +0000
committerrichard <richard>2016-09-17 15:23:42 +0000
commit3a3aba0ea2fb02a23751a1e08716a664915db737 (patch)
tree33e615b00c262c522d70dc273ab8d4d28e4d8843 /net/libsoup
parent8c08468ac0adfe82e852bac1ef637b954c9a22b1 (diff)
downloadpkgsrc-3a3aba0ea2fb02a23751a1e08716a664915db737.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/libsoup')
-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"