Bug 227774

Summary: print/qpdf wrong dependency
Product: Ports & Packages Reporter: lampa
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: 0mp, d.y.kazarov, diizzy, rotkap, tijl, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (d.y.kazarov)
Version: Latest   
Hardware: Any   
OS: Any   

Description lampa 2018-04-25 17:18:53 UTC
Installed pkg-config file or package Makefile has wrong dependency.

/usr/local/libdata/pkgconfig/libqpdf.pc:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libqpdf
Description: PDF transformation library
Version: 8.0.1
Requires.private: zlib, libjpeg
Libs: -L${libdir} -lqpdf
Cflags: -I${includedir}

Makefile:
USES=           gmake jpeg libtool localbase

Package jpeg is not registered as a pkg-config package libjpeg, but qpdf Makefile requires this package, not jpeg-turbo (which contains pkgconfig pc file with the libjpeg name). 

This is folowup to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225848
Comment 1 Nathan 2018-08-26 22:33:29 UTC
On poudriere(amd64)11.2 I am not getting any error during build, as linked from closed PR in comment
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2022-08-07 18:16:43 UTC
Wen, is this still relevant?
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2023-01-03 20:54:57 UTC
(In reply to Daniel Engberg from comment #2)
No, graphics/jpeg has been removed and both graphics/jpeg-turbo and graphics/mozjpeg provide libjpeg.pc.
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2023-01-03 20:56:15 UTC
*** Bug 225848 has been marked as a duplicate of this bug. ***