Fix dependencies, and add a patch to ignore looking
for GIF support (and bailing out in the process).
This commit is contained in:
parent
6f99a34f5f
commit
c85c932dd0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65332
2 changed files with 21 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= Chart-PNGgraph
|
||||
PORTVERSION= 1.21
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Chart
|
||||
|
@ -15,7 +15,9 @@ PKGNAMEPREFIX= p5-
|
|||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= YES
|
||||
|
||||
|
|
17
graphics/p5-Chart-PNGgraph/files/patch-Makefile.PL
Normal file
17
graphics/p5-Chart-PNGgraph/files/patch-Makefile.PL
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- Makefile.PL.orig Wed Apr 5 02:45:37 2000
|
||||
+++ Makefile.PL Thu Aug 29 21:56:59 2002
|
||||
@@ -37,8 +37,8 @@
|
||||
# HAVE EDITED GIFgraph::Convert.
|
||||
-if (GD::Image->can('gif'))
|
||||
-{
|
||||
- print "Checking for conversion of GIF to PNG\n";
|
||||
- require GIFgraph::Convert;
|
||||
- GIFgraph::Convert::checkImageMagick();
|
||||
-}
|
||||
+#if (GD::Image->can('gif'))
|
||||
+#{
|
||||
+# print "Checking for conversion of GIF to PNG\n";
|
||||
+# require GIFgraph::Convert;
|
||||
+# GIFgraph::Convert::checkImageMagick();
|
||||
+#}
|
||||
|
Loading…
Reference in a new issue