summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-26 21:39:33 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-26 21:39:33 +0000
commit9d3720c9c35d65dc7045544a7045596839fae8c0 (patch)
tree49ddb25c2a4aeda918246d0016e742a8a1dc222a /mk
parent84ba2e17119acec207348fe7df3f9504b21c09a5 (diff)
downloadpkgsrc-9d3720c9c35d65dc7045544a7045596839fae8c0.tar.gz
Add missing PKG_SKIP_REASON when ${_PGSQL_VERSION} is defined, but
the package is not postgresql "74" or "73".
Diffstat (limited to 'mk')
-rw-r--r--mk/pgsql.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk
index 9ebdf51035e..2ec2318b5b7 100644
--- a/mk/pgsql.buildlink3.mk
+++ b/mk/pgsql.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pgsql.buildlink3.mk,v 1.2 2004/07/24 10:40:15 recht Exp $
+# $NetBSD: pgsql.buildlink3.mk,v 1.3 2004/10/26 21:39:33 xtraeme Exp $
.if !defined(PGVERSION_MK)
PGVERSION_MK= defined
@@ -64,7 +64,7 @@ PGPKGSRCDIR= ../../databases/postgresql74-lib
PGPKGSRCDIR= ../../databases/postgresql73-lib
.else
# force an error
- error: no valid PostgreSQL version
+PKG_SKIP_REASON+= "${_PGSQL_VERSION} is not a valid package"
.endif
.if (defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[nN][oO]))