diff --git a/external/mit/xorg/lib/libXt/Makefile b/external/mit/xorg/lib/libXt/Makefile index 930469aa4a04..36e4bb0551d3 100644 --- a/external/mit/xorg/lib/libXt/Makefile +++ b/external/mit/xorg/lib/libXt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2019/07/11 05:44:07 mrg Exp $ +# $NetBSD: Makefile,v 1.8 2023/06/19 07:21:17 mrg Exp $ .include @@ -32,7 +32,8 @@ CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 CPPFLAGS+= -DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I. CPPFLAGS+= -DHAVE_ASPRINTF -D_CONST_X_STRING -CPPFLAGS.Intrinsic.c= -DXFILESEARCHPATHDEFAULT=\"${X11LIBDIR}/%L/%T/%N%C%S:${X11LIBDIR}/%l/%T/%N%C%S:${X11LIBDIR}/%T/%N%C%S:${X11LIBDIR}/%L/%T/%N%S:${X11LIBDIR}/%l/%T/%N%S:${X11LIBDIR}/%T/%N%S\" +XFILESEARCHPATHDEFAULT=${X11LIBDIR}/%L/%T/%N%C%S:${X11LIBDIR}/%l/%T/%N%C%S:${X11LIBDIR}/%T/%N%C%S:${X11LIBDIR}/%L/%T/%N%S:${X11LIBDIR}/%l/%T/%N%S:${X11LIBDIR}/%T/%N%S +CPPFLAGS.Intrinsic.c= -DXFILESEARCHPATHDEFAULT=\"${XFILESEARCHPATHDEFAULT}\" CPPFLAGS.Error.c= -DERRORDB=\"${X11LIBDIR}/XtErrorDB\" \ -DXTERROR_PREFIX=\"\" -DXTWARNING_PREFIX=\"\" CPPFLAGS.TMkey.c= -DXKB @@ -306,5 +307,8 @@ PKGDIST= ${LIB} CWARNFLAGS.clang+= -Wno-tautological-compare +PKGCONFIG_SED_FLAGS+= \ + -e "s,@XFILESEARCHPATHDEFAULT@,${XFILESEARCHPATHDEFAULT}," + .include .include