pkgsrc-Users archive

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

Re: buildlink breakage on libwebp? [PATCH]



Am Mon, 17 Aug 2020 18:49:15 +0200
schrieb "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>:

> Heck. This also means we got a circular dependency between tiff and
> webp here. Great idea, that. How should this be approached at all in
> pkgsrc?

My stop-gap measure is this patch to avoid the insanity loop:

Index: graphics/tiff/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/tiff/Makefile,v
retrieving revision 1.146
diff -u -r1.146 Makefile
--- graphics/tiff/Makefile	4 Nov 2019 01:11:38 -0000	1.146
+++ graphics/tiff/Makefile	17 Aug 2020 16:59:17 -0000
@@ -18,6 +18,7 @@
 CONFIGURE_ARGS+=	--enable-cxx
 CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/tiff
 CONFIGURE_ARGS+=	--without-x # just in case detects gl to build tiffgt
+CONFIGURE_ARGS+=	--disable-webp # avoid questionable circular dep
 
 PKGCONFIG_OVERRIDE=	libtiff-4.pc.in


I guess another way would be to add builtin detection to webp, explicit
dependency here … and some way to handle the wicked ciruclar dependency
that arises. I for my part don't see why I would want webp support in
TIFF and TIFF support in webp. People should just stop this madness.


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index