pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/p5-PerlMagick Explicitly pass -lMagickCore-7....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b12145092367
branches:  trunk
changeset: 771335:b12145092367
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Dec 17 11:57:58 2021 +0000

description:
Explicitly pass -lMagickCore-7.Q16HDRI to PERL5_LDFLAGS, which is
redundant-but-harmless for most builds and missing-but-necessary on others.

Already worked, and verified not to change ldd output:
- CentOS 7 and 8
- Debian 9 and 10
- FreeBSD
- NetBSD (9.2 and -current)
- Tribblix

Fixes "undefined symbol: MagickCoreGenesis" thrown by `perl -e 'use
Image::Magick'`:
- Debian 11
- Devuan 4
- Ubuntu 14, 16, 18, 20

Bump PKGREVISION.

diffstat:

 graphics/p5-PerlMagick/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7766167285fd -r b12145092367 graphics/p5-PerlMagick/Makefile
--- a/graphics/p5-PerlMagick/Makefile   Fri Dec 17 10:29:09 2021 +0000
+++ b/graphics/p5-PerlMagick/Makefile   Fri Dec 17 11:57:58 2021 +0000
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.169 2021/12/12 09:38:04 wiz Exp $
+# $NetBSD: Makefile,v 1.170 2021/12/17 11:57:58 schmonz Exp $
 
+PKGREVISION=   1
 .include "../../graphics/ImageMagick/Makefile.common"
 
 PKGNAME=       p5-PerlMagick-${DISTVERSION}
@@ -16,6 +17,7 @@
 
 PERL5_CONFIGURE=       no
 PERL5_CONFIGURE_DIRS=  ${WRKSRC}/PerlMagick
+PERL5_LDFLAGS=         -lMagickCore-7.Q16HDRI
 PERL5_PACKLIST=                auto/Image/Magick/.packlist
 BUILD_DIRS=            ${PERL5_CONFIGURE_DIRS}
 



Home | Main Index | Thread Index | Old Index