mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-11 05:22:40 -04:00
16 lines
510 B
Plaintext
16 lines
510 B
Plaintext
$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 ( )
|