summaryrefslogtreecommitdiff
path: root/graphics/p5-GD
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-07-04 05:38:55 +0000
committerdholland <dholland@pkgsrc.org>2013-07-04 05:38:55 +0000
commite430e28cdbe27a4e842e2543d9f198da708433f5 (patch)
treea8bde1673002ee7d90baabfa24be1de6a687ea25 /graphics/p5-GD
parent48d929f78c2aeb417b354eec15002e7f561a9bb7 (diff)
downloadpkgsrc-e430e28cdbe27a4e842e2543d9f198da708433f5.tar.gz
Add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS per PR 45873.
Diffstat (limited to 'graphics/p5-GD')
-rw-r--r--graphics/p5-GD/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index ee90f054d3f..5e5596b9856 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.60 2013/06/04 22:16:24 tron Exp $
+# $NetBSD: Makefile,v 1.61 2013/07/04 05:38:55 dholland Exp $
DISTNAME= GD-2.46
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 9
+PKGREVISION= 10
SVR4_PKGNAME= p5bd
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
@@ -20,6 +20,10 @@ REPLACE_PERL= qd.pl
USE_LANGUAGES= c
+# This is required at least on some Solaris builds to get a runnable
+# package, and should be harmless on other platforms. See PR 45873.
+CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
PERL5_PACKLIST= auto/GD/.packlist
PERL5_OPTIONS+= threads