diff options
author | leot <leot@pkgsrc.org> | 2017-10-03 08:33:45 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2017-10-03 08:33:45 +0000 |
commit | 243723826183b2bf5260ed0f59094338946998a4 (patch) | |
tree | 3145d341d47604500ba22c80dc17c4e6677c852f | |
parent | 3b6bd37ded883dd7afcb079ab0769434f5eb83ac (diff) | |
download | pkgsrc-243723826183b2bf5260ed0f59094338946998a4.tar.gz |
qpdf: Delete reference to libjpeg in the libqpdf `.pc' file
graphics/jpeg does not provide any `.pc' file this will lead in failures when
invoking pkg-config agaisnt `libqpdf'. Adjust `Requires.private:' in
libqpdf.pc.in to omit libjpeg.
Bump PKGREVISION since the new installed libqpdf.pc file will fix packages that
depends on print/qpdf.
OK by <pgoyette> and <ryoon>, thanks!
-rw-r--r-- | print/qpdf/Makefile | 3 | ||||
-rw-r--r-- | print/qpdf/distinfo | 3 | ||||
-rw-r--r-- | print/qpdf/patches/patch-libqpdf.pc.in | 16 |
3 files changed, 20 insertions, 2 deletions
diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile index 77e3b4371fd..6bd82528520 100644 --- a/print/qpdf/Makefile +++ b/print/qpdf/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2017/09/29 21:11:40 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2017/10/03 08:33:45 leot Exp $ DISTNAME= qpdf-7.0.0 +PKGREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qpdf/} diff --git a/print/qpdf/distinfo b/print/qpdf/distinfo index 4a340ae1904..658544cbc94 100644 --- a/print/qpdf/distinfo +++ b/print/qpdf/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.12 2017/09/28 12:50:36 ryoon Exp $ +$NetBSD: distinfo,v 1.13 2017/10/03 08:33:45 leot Exp $ SHA1 (qpdf-7.0.0.tar.gz) = 506002271a7e04f431014baa94dd820c47235356 RMD160 (qpdf-7.0.0.tar.gz) = ac3026a820d41dc127823fd3cfe0c1f6af90a4b0 SHA512 (qpdf-7.0.0.tar.gz) = 7b52d67b4d2c428a7b0c1cd03b03a23f05d38d7e3c81041079a137919019ea5158f12bf95fdcfcff6b43ffdefe93a85127ced2a363a6b4b380cbaa02a3840256 Size (qpdf-7.0.0.tar.gz) = 7053781 bytes +SHA1 (patch-libqpdf.pc.in) = f592899487bb958a01931afbe4ddf3c749ea103e SHA1 (patch-make_libtool.mk) = 8622d6a446da284269102dde38bf14271363dfdc diff --git a/print/qpdf/patches/patch-libqpdf.pc.in b/print/qpdf/patches/patch-libqpdf.pc.in new file mode 100644 index 00000000000..88527b62106 --- /dev/null +++ b/print/qpdf/patches/patch-libqpdf.pc.in @@ -0,0 +1,16 @@ +$NetBSD: patch-libqpdf.pc.in,v 1.1 2017/10/03 08:33:45 leot Exp $ + +graphics/jpeg does not provide any `.pc' files and adding it to the list of +`Requires.private:' breaks all packages that need to retrieve pkg-config +information for libqpdf. + +--- libqpdf.pc.in.orig 2017-09-16 17:22:15.000000000 +0000 ++++ libqpdf.pc.in +@@ -6,6 +6,6 @@ includedir=@includedir@ + Name: libqpdf + Description: PDF transformation library + Version: @PACKAGE_VERSION@ +-Requires.private: zlib, libjpeg ++Requires.private: zlib + Libs: -L${libdir} -lqpdf + Cflags: -I${includedir} |