tech-pkg archive

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

devel/cmake patch



I have run into a Linux machine (v2.6.32) that will not build cmake because of an incompatibility with curses.  More recent versions, specifically v3.10.0, seem to be fine.  I do not know enough about the history of Linux to know what exactly to do, but the patch below seems to fix the problem.  Presumably, the 2.6.32 (and perhaps the x86_64) should be made less stringent, but I'm not sure what is appropriate.  Is Linux-2.*-* the correct pattern?  Is there a problem with committing a patch like this?

Please advise.

Thanks a lot.

Cheers,
Brook

RCS file: /cvsroot/pkgsrc/devel/cmake/Makefile,v
retrieving revision 1.136
diff -u -r1.136 Makefile
--- Makefile    20 Dec 2017 16:39:07 -0000      1.136
+++ Makefile    6 Jul 2018 23:44:43 -0000
@@ -63,7 +63,8 @@
            ${WRKSRC}/Modules/Platform/SunOS-Clang-${lang}.cmake
 .endfor

-INCOMPAT_CURSES=       NetBSD-[0-6].*-*
+INCOMPAT_CURSES+=      Linux-2.6.32-x86_64
+INCOMPAT_CURSES+=      NetBSD-[0-6].*-*

 BUILDLINK_API_DEPENDS.libarchive+=     libarchive>=3.0.0
 .include "../../archivers/libarchive/buildlink3.mk"








Home | Main Index | Thread Index | Old Index