pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/libuuid



Module Name:    pkgsrc
Committed By:   charlotte
Date:           Wed Mar  8 03:13:32 UTC 2023

Modified Files:
        pkgsrc/devel/libuuid: Makefile.common

Log Message:
devel/libuuid: Unbreak build on DragonFly

DragonFly has a cpu_set_t (not to be confused with cpuset_t), but util-linux
incorrectly assumes that its contents are identical to those on Linux.
Therefore, behave like NetBSD et al. and assume we *don't* have cpu_set_t
after all.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/libuuid/Makefile.common

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

Modified files:

Index: pkgsrc/devel/libuuid/Makefile.common
diff -u pkgsrc/devel/libuuid/Makefile.common:1.8 pkgsrc/devel/libuuid/Makefile.common:1.9
--- pkgsrc/devel/libuuid/Makefile.common:1.8    Thu May  5 08:35:33 2022
+++ pkgsrc/devel/libuuid/Makefile.common        Wed Mar  8 03:13:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2022/05/05 08:35:33 nia Exp $
+# $NetBSD: Makefile.common,v 1.9 2023/03/08 03:13:32 charlotte Exp $
 # used by devel/libblkid/Makefile
 # used by devel/libuuid/Makefile
 # used by x11/mcookie/Makefile
@@ -37,3 +37,11 @@ TEST_TARGET=         check
 USE_TOOLS+=    ksh
 CONFIG_SHELL=  ksh
 .endif
+
+# DragonFly has a cpu_set_t (not to be confused with cpuset_t), but util-linux
+# incorrectly assumes that its contents are identical to those on Linux.
+# Therefore, behave like NetBSD et al. and assume we *don't* have cpu_set_t
+# after all.
+.if (${OPSYS} == "DragonFly")
+CONFIGURE_ARGS+=       ac_cv_type_cpu_set_t=no
+.endif



Home | Main Index | Thread Index | Old Index