summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Oracle
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-02 12:13:39 +0000
committerrillig <rillig@pkgsrc.org>2007-01-02 12:13:39 +0000
commitb44c9d0f3087292a81de5408f8462a6bfe5c6bc3 (patch)
tree6631238a8b0003472c70f4d5292be1b602947ae2 /databases/p5-DBD-Oracle
parent81d3bcd078e4d2645f301acb7086a5b7065e818c (diff)
downloadpkgsrc-b44c9d0f3087292a81de5408f8462a6bfe5c6bc3.tar.gz
Replaced PKG_SKIP_REASON with PKG_FAIL_REASON and included bsd.prefs.mk
before checking ORACLE_HOME.
Diffstat (limited to 'databases/p5-DBD-Oracle')
-rw-r--r--databases/p5-DBD-Oracle/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index 4440a9b118e..65350f5f977 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/04 21:29:09 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2007/01/02 12:13:39 rillig Exp $
DISTNAME= DBD-Oracle-1.14
PKGNAME= p5-${DISTNAME}
@@ -11,8 +11,10 @@ COMMENT= Perl DBI/DBD driver for Oracle databases
PERL5_PACKLIST= auto/DBD/Oracle/.packlist
+.include "../../mk/bsd.prefs.mk"
+
.if !defined(ORACLE_HOME)
-PKG_SKIP_REASON+= "You must set ORACLE_HOME to the location of your Oracle installation"
+PKG_FAIL_REASON+= "You must set ORACLE_HOME to the location of your Oracle installation"
.elif !exists(${ORACLE_HOME})
PKG_FAIL_REASON+= "The location of ORACLE_HOME does not exist"
.endif