pkgsrc/editors/codelite/patches/patch-Plugin_CMakeLists.txt
kamil 94ae2921ee Import codelite-9.1 as editors/codelite
CodeLite is an open source, free, cross platform IDE for the C/C++ programming
languages which runs on all major Platforms.

Originally packaged in pkgsrc-wip by myself.
2016-06-15 22:04:17 +00:00

15 lines
510 B
Text

$NetBSD: patch-Plugin_CMakeLists.txt,v 1.1 2016/06/15 22:04:17 kamil Exp $
Add switch for NetBSD to not fall under "other OS".
--- Plugin/CMakeLists.txt.orig 2016-01-30 10:49:18.000000000 +0000
+++ Plugin/CMakeLists.txt
@@ -64,6 +64,8 @@ set( ADDITIONAL_LIBRARIES "" )
if (UNIX)
if ( IS_FREEBSD )
set(ADDITIONAL_LIBRARIES "-lkvm")
+ elseif ( IS_NETBSD )
+ set(ADDITIONAL_LIBRARIES "")
elseif ( UNIX AND NOT APPLE )
set(ADDITIONAL_LIBRARIES "-ldl -lutil")
else ( )