summaryrefslogtreecommitdiff
path: root/graphics/p5-GD
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-19 00:01:43 +0000
committerjlam <jlam@pkgsrc.org>2004-12-19 00:01:43 +0000
commit48876679d911a6ceb5f41b08286bf724c282f65b (patch)
treed0b5209076372e315276b0112cf736365b03246d /graphics/p5-GD
parentfa6a9ffd9251ecfe476475a3e19ba95fd34c65b7 (diff)
downloadpkgsrc-48876679d911a6ceb5f41b08286bf724c282f65b.tar.gz
Create a modifier PERL5_OPTIONS that specifies properties of the perl
installation needed when including perl5/buildlink3.mk. The only option currently supported is "threads", which implies that a perl that supports threads is required. The requirement is checked at pre-install time using an INSTALL script template by both the package build and the binary package. Add PERL5_OPTIONS+=threads to both devel/p5-SDL and graphics/p5-GD since those modules require a perl that supports threads.
Diffstat (limited to 'graphics/p5-GD')
-rw-r--r--graphics/p5-GD/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index 1bb3d958bff..04e7ce2985e 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/10/03 00:14:56 tv Exp $
+# $NetBSD: Makefile,v 1.25 2004/12/19 00:01:43 jlam Exp $
DISTNAME= GD-2.16
PKGNAME= p5-${DISTNAME}
@@ -15,6 +15,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/GD/.packlist
+PERL5_OPTIONS+= threads
MAKE_ENV+= GD_LIBS="${LDFLAGS}"
MAKE_PARAMS+= -lib_gd_path=${BUILDLINK_PREFIX.gd}