summaryrefslogtreecommitdiff
path: root/devel/p5-File-HomeDir
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-08-09 02:38:17 +0000
committerobache <obache@pkgsrc.org>2008-08-09 02:38:17 +0000
commit882af5e801d01974cc8af2b406bdc886b3081bad (patch)
tree3aa73d77f3192bc66163a0e73be506a293dec4ac /devel/p5-File-HomeDir
parent28df6779233b00d57c780182a8d3e1e9229ec3c8 (diff)
downloadpkgsrc-882af5e801d01974cc8af2b406bdc886b3081bad.tar.gz
Need Mac::Carbon for Darwin.
Diffstat (limited to 'devel/p5-File-HomeDir')
-rw-r--r--devel/p5-File-HomeDir/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-File-HomeDir/Makefile b/devel/p5-File-HomeDir/Makefile
index 3bcc3efe627..b7c58edc73f 100644
--- a/devel/p5-File-HomeDir/Makefile
+++ b/devel/p5-File-HomeDir/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/08/09 01:40:42 obache Exp $
+# $NetBSD: Makefile,v 1.6 2008/08/09 02:38:17 obache Exp $
#
DISTNAME= File-HomeDir-0.80
@@ -16,5 +16,11 @@ PERL5_PACKLIST= auto/File/HomeDir/.packlist
PKG_DESTDIR_SUPPORT= user-destdir
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+DEPENDS+= p5-Mac-Carbon>=0.77:../../devel/p5-Mac-Carbon
+.endif
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"