pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lang/python37 and libuuid
I wrote:
>Can we make lang/python37 only use devel/libuuid/buildlink3.mk on
>platforms that really need it ?
>
>I'm guessing that this would be Linux that would require it.
>
>The python37 package builds fine on NetBSD without including libuuid
>but would fail if libuuid was installed as setup.py will find. Maybe
>need some changes to the setup.py patch to change the logic around
>uuid detection.
>
>A NetBSD-8 build host would probably have installed libuuid as a
>dependency of fonts/fontconfig.
I looked into this a bit more, python37 doesn't need libuuid at all
on NetBSD, it can use the UUID functions in libc.
I have been using this patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python37/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 9 Jul 2019 07:46:37 -0000 1.10
+++ Makefile 17 Jul 2019 22:57:26 -0000
@@ -176,7 +176,9 @@
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
+.if ${OPSYS} != "NetBSD"
.include "../../devel/libuuid/buildlink3.mk"
+.endif
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0.2
Home |
Main Index |
Thread Index |
Old Index