pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libsoup Add a build dependency to ncurses to avoid...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fd062892dd1
branches:  trunk
changeset: 352626:7fd062892dd1
user:      richard <richard%pkgsrc.org@localhost>
date:      Sat Sep 17 15:23:42 2016 +0000

description:
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:

 net/libsoup/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f6502ee8c1f5 -r 7fd062892dd1 net/libsoup/Makefile
--- a/net/libsoup/Makefile      Sat Sep 17 14:28:59 2016 +0000
+++ b/net/libsoup/Makefile      Sat Sep 17 15:23:42 2016 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index