pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cmake
Module Name: pkgsrc
Committed By: joerg
Date: Fri Nov 25 13:36:37 UTC 2016
Modified Files:
pkgsrc/devel/cmake: Makefile
Log Message:
If the curses include directory doesn't contain form.h, but the ncurses
subdirectory does, explicitly include the latter in the search path.
This helps with the header moves in OpenSuSE.
To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 pkgsrc/devel/cmake/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cmake/Makefile
diff -u pkgsrc/devel/cmake/Makefile:1.125 pkgsrc/devel/cmake/Makefile:1.126
--- pkgsrc/devel/cmake/Makefile:1.125 Sat Nov 12 07:49:18 2016
+++ pkgsrc/devel/cmake/Makefile Fri Nov 25 13:36:37 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2016/11/12 07:49:18 adam Exp $
+# $NetBSD: Makefile,v 1.126 2016/11/25 13:36:37 joerg Exp $
.include "Makefile.version"
@@ -72,4 +72,11 @@ BUILDLINK_API_DEPENDS.libarchive+= libar
.include "../../textproc/expat/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
+
+.if !exists(${BUILDLINK_INCDIRS.curses}/form.h) && \
+ exists(${BUILDLINK_INCDIRS.curses}/ncurses/form.h)
+CFLAGS+= -I${BUILDLINK_INCDIRS.curses}/ncurses
+CXXFLAGS+= -I${BUILDLINK_INCDIRS.curses}/ncurses
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index