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:   schmonz
Date:           Wed Aug 26 13:47:14 UTC 2020

Modified Files:
        pkgsrc/devel/libuuid: builtin.mk

Log Message:
On macOS (Catalina, at least), python37 and python38 fail in _uuid.so
with `ld: library not found for -luuid` when building with native
libuuid. Rather than trying to fix Python's detection logic, just make
this mistake impossible for anyone using macOS native libuuid. Building
with pkgsrc libuuid continues to work fine.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/libuuid/builtin.mk

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/builtin.mk
diff -u pkgsrc/devel/libuuid/builtin.mk:1.11 pkgsrc/devel/libuuid/builtin.mk:1.12
--- pkgsrc/devel/libuuid/builtin.mk:1.11        Sun Nov  3 10:39:19 2019
+++ pkgsrc/devel/libuuid/builtin.mk     Wed Aug 26 13:47:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.11 2019/11/03 10:39:19 rillig Exp $
+# $NetBSD: builtin.mk,v 1.12 2020/08/26 13:47:14 schmonz Exp $
 
 BUILTIN_PKG:=  libuuid
 
@@ -79,6 +79,10 @@ BUILDLINK_PASSTHRU_DIRS+=    /lib
 LIBUUID_LDADD=                 -L/lib
 .    endif
 
+.    if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+=          rm:-luuid
+.    endif
+
 libuuid-fake-pc:
        ${RUN}                                          \
        ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig;        \



Home | Main Index | Thread Index | Old Index