Fix FTBFS on kFreeBSD and Hurd
authorGeorges Khaznadar <georgesk@debian.org>
Sat, 3 Sep 2016 15:57:10 +0000 (17:57 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Thu, 29 Dec 2022 17:43:50 +0000 (17:43 +0000)
The modification should allow the package to be built on new platforms:
hurd and *freebsd.

Gbp-Pq: Topic porting-kfreebsd-hurd
Gbp-Pq: Name Fix-FTBFS-on-kFreeBSD-and-Hurd.patch

include/kiway.h

index 9182971d6a27f7a79d79ec6249ccbcdf185966e0..0813fc4ea08d4f94e3687ec588c7a6251037bd91 100644 (file)
 #define KIFACE_INSTANCE_NAME_AND_VERSION   "KIFACE_1"
 
 #ifndef SWIG
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__GNU__)
  #define LIB_ENV_VAR    wxT( "LD_LIBRARY_PATH" )
 #elif defined(__WXMAC__)
  #define LIB_ENV_VAR    wxT( "DYLD_LIBRARY_PATH" )