pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python39 python39: Add -luuid on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27c3cb45d974
branches:  trunk
changeset: 769143:27c3cb45d974
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Nov 08 16:00:16 2021 +0000

description:
python39: Add -luuid on SunOS.

The configure test looks for only one particular symbol from the library,
which the native version on illumos does not have, to determine whether
libuuid should be linked against.  This results in failure later when
trying to use a different symbol the library.

Fixes native builds, and has no impact on pkgsrc builds.

diffstat:

 lang/python39/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 86ee80e4975c -r 27c3cb45d974 lang/python39/Makefile
--- a/lang/python39/Makefile    Mon Nov 08 15:07:02 2021 +0000
+++ b/lang/python39/Makefile    Mon Nov 08 16:00:16 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/06/29 12:43:42 adam Exp $
+# $NetBSD: Makefile,v 1.10 2021/11/08 16:00:16 jperkin Exp $
 
 .include "dist.mk"
 
@@ -43,8 +43,8 @@
 PKG_CXX=               clang++
 .endif
 
-# fdatasync()
-LIBS.SunOS+=           -lrt
+LIBS.SunOS+=           -lrt    # fdatasync()
+LIBS.SunOS+=           -luuid
 
 PY_VER_SUFFIX=         3.9
 



Home | Main Index | Thread Index | Old Index