$NetBSD: patch-ae,v 1.5 2022/12/01 21:14:09 jperkin Exp $ --- DragonFly.cf.orig 2021-08-02 01:00:38 +++ DragonFly.cf @@ -96,12 +96,12 @@ XCOMM operating system: OSName (OSMajorVersion./**/OS #define HasFlex YES #ifndef CcCmd -# define CcCmd cc +# define CcCmd @@PKGSRC_CC@@ #endif #ifndef CplusplusCmd -# define CplusplusCmd c++ +# define CplusplusCmd @@PKGSRC_CXX@@ #endif -#define CppCmd /usr/bin/cpp +#define CppCmd @@PKGSRC_CPP@@ #define PreProcessCmd CppCmd #define StandardCppOptions -traditional #define StandardCppDefines /**/ @@ -115,10 +115,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OS # define NoSystemWarn # endif # define DefaultCCOptions -ansi NoSystemWarn -Dasm=__asm GccWarningOptions -#endif -#ifndef ExtraLibraries -/* support for multi-byte locales is in libxpg4 rather than libc */ -#define ExtraLibraries -lxpg4 #endif #define HasSetUserContext YES #define HasGetpeereid YES