Files
pkgsrc-ng/cad/kicad/patches/patch-include_kiway.h
2016-11-18 22:39:22 +01:00

14 lines
528 B
C

$NetBSD: patch-include_kiway.h,v 1.2 2016/09/08 09:32:28 bouyer Exp $
--- include/kiway.h.orig 2015-12-14 21:13:18.000000000 +0100
+++ include/kiway.h 2015-12-14 21:13:39.000000000 +0100
@@ -114,7 +114,7 @@
// be mangled.
#define KIFACE_INSTANCE_NAME_AND_VERSION "KIFACE_1"
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
#define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" )
#elif defined(__WXMAC__)
#define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )