Skip to content

Commit

Permalink
Explicitly pass -lMagickCore-7.Q16HDRI to PERL5_LDFLAGS, which is
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
schmonz committed Dec 17, 2021
1 parent e872687 commit c9b3c95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graphics/p5-PerlMagick/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -16,6 +17,7 @@ CONFIGURE_ARGS+= --with-perl=${PERL5:Q}

PERL5_CONFIGURE= no
PERL5_CONFIGURE_DIRS= ${WRKSRC}/PerlMagick
PERL5_LDFLAGS= -lMagickCore-7.Q16HDRI
PERL5_PACKLIST= auto/Image/Magick/.packlist
BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}

Expand Down

0 comments on commit c9b3c95

Please sign in to comment.