$NetBSD: patch-ae,v 1.6 2023/02/22 07:44:55 wiz Exp $ --- DragonFly.cf.orig 2023-02-22 02:28:43.000000000 +0000 +++ DragonFly.cf @@ -96,12 +96,12 @@ XCOMM operating system: OSName (OSMajor #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 /**/ @@ -116,10 +116,6 @@ XCOMM operating system: OSName (OSMajor # 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 #define HasMTRRSupport YES