summaryrefslogtreecommitdiff
path: root/devel/p5-SDL
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 /devel/p5-SDL
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 'devel/p5-SDL')
-rw-r--r--devel/p5-SDL/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/p5-SDL/Makefile b/devel/p5-SDL/Makefile
index d2a28b517f1..ef8b533a3e0 100644
--- a/devel/p5-SDL/Makefile
+++ b/devel/p5-SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/11/30 18:29:40 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2004/12/19 00:01:43 jlam Exp $
#
DISTNAME= SDL_perl-1.19.2
@@ -7,7 +7,8 @@ PKGREVISION= 10
CATEGORIES= devel perl5
MASTER_SITES= ftp://sdlperl.org/SDL_perl/
-DEPENDS+= perl>=5.8.0:../../lang/perl58
+PERL5_REQD+= 5.8.0
+PERL5_OPTIONS+= threads
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sdlperl.org/