Module Name:    src
Committed By:   mrg
Date:           Sun Jan  8 09:10:58 UTC 2023

Modified Files:
        src/external/mit/xorg/lib/libSM: Makefile

Log Message:
handle .pc updates.  prepare to enable uuid support.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libSM/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libSM/Makefile
diff -u src/external/mit/xorg/lib/libSM/Makefile:1.4 src/external/mit/xorg/lib/libSM/Makefile:1.5
--- src/external/mit/xorg/lib/libSM/Makefile:1.4	Thu Jan  3 23:39:47 2019
+++ src/external/mit/xorg/lib/libSM/Makefile	Sun Jan  8 09:10:58 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2019/01/03 23:39:47 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2023/01/08 09:10:58 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -13,6 +13,8 @@ INCS=	SM.h SMlib.h SMproto.h
 INCSDIR=${X11INCDIR}/X11/SM
 
 CPPFLAGS+=	${X11FLAGS.THREADLIB}
+# XXX not yet; libuuid_ul is not yet ready.
+#CPPFLAGS+=	-DHAVE_LIBUUID
 
 CONN_DEFINES=	${X11FLAGS.CONNECTION} -DICE_t
 
@@ -30,6 +32,7 @@ COPTS.sm_client.c=	-Wno-error
 COPTS.sm_manager.c=	-Wno-error
 
 PKGDIST=	${LIB}
+PKGCONFIG_SED_FLAGS=	-e "s,@UUID_PC@,," -e "s,@UUID_LIB_PRIVATE@,,"
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>

Reply via email to