pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-DBD-Oracle Replaced PKG_SKIP_REASON with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e62d5233b6ad
branches:  trunk
changeset: 523104:e62d5233b6ad
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 02 12:13:39 2007 +0000

description:
Replaced PKG_SKIP_REASON with PKG_FAIL_REASON and included bsd.prefs.mk
before checking ORACLE_HOME.

diffstat:

 databases/p5-DBD-Oracle/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r d39113a6470d -r e62d5233b6ad databases/p5-DBD-Oracle/Makefile
--- a/databases/p5-DBD-Oracle/Makefile  Tue Jan 02 11:47:40 2007 +0000
+++ b/databases/p5-DBD-Oracle/Makefile  Tue Jan 02 12:13:39 2007 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index