From 8582089aeb4e6aa5e16e7c8b1281e9ef8169be8d Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 25 Apr 2010 08:06:16 +0000 Subject: [PATCH] Correct way for detecting PC-BSD --- dtool/Config.FreeBSD.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtool/Config.FreeBSD.pp b/dtool/Config.FreeBSD.pp index 5df24db1c8..e324a760c1 100644 --- a/dtool/Config.FreeBSD.pp +++ b/dtool/Config.FreeBSD.pp @@ -39,7 +39,7 @@ #endif // FreeBSD doesn't (yet) have any funny architecture flags. -#defer ARCH_FLAGS +#defer ARCH_FLAGS // How to compile a C or C++ file into a .o file. $[target] is the // name of the .o file, $[source] is the name of the source file, @@ -298,7 +298,7 @@ #define STATIC_LIB_EXT .a #define BUNDLE_EXT -#if $[eq $[shell uname -n], pcbsd] // if we're running PC-BSD +#if $[isdir /usr/PCBSD/local] // if we're running PC-BSD #define EXTRA_IPATH /usr/PCBSD/local/include/ #define EXTRA_LPATH /usr/PCBSD/local/lib/ #endif