Bug 227774 - print/qpdf wrong dependency
Summary: print/qpdf wrong dependency
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
: 225848 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-25 17:18 UTC by lampa
Modified: 2023-01-03 20:56 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (d.y.kazarov)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***