summaryrefslogtreecommitdiff
path: root/databases/postgresql84
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-10-21 13:52:15 +0000
committercheusov <cheusov@pkgsrc.org>2012-10-21 13:52:15 +0000
commit37878eb314ecf6f4a35726b0bf32378cd0dec892 (patch)
tree6c076994674020931959636824077c9e9f3abab4 /databases/postgresql84
parentbeef445204af12941e40505f8fda30e0f5eee082 (diff)
downloadpkgsrc-37878eb314ecf6f4a35726b0bf32378cd0dec892.tar.gz
Register self-CONFLICTS between postgresql modules.
This also fixes some minor pkglint warnings.
Diffstat (limited to 'databases/postgresql84')
-rw-r--r--databases/postgresql84/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql84/Makefile.common b/databases/postgresql84/Makefile.common
index 8123868810a..10336a6168a 100644
--- a/databases/postgresql84/Makefile.common
+++ b/databases/postgresql84/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2012/10/05 22:15:35 adam Exp $
+# $NetBSD: Makefile.common,v 1.23 2012/10/21 13:52:15 cheusov Exp $
#
# used by databases/postgresql84-adminpack/Makefile
# used by databases/postgresql84-client/Makefile
@@ -31,6 +31,12 @@ CONFLICTS+= postgresql7[0-9]-*
CONFLICTS+= postgresql8[0-3]-*
CONFLICTS+= postgresql9[0-9]-*
+.if !empty(PKGNAME:M*-*-*)
+module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//}
+CONFLICTS+= postgresql8[0-35-9]-${module}-[0-9]*
+CONFLICTS+= postgresql9[0-9]-${module}-[0-9]*
+.endif
+
DISTINFO_FILE?= ${.CURDIR}/../postgresql84/distinfo
COMMON_FILESDIR?= ${.CURDIR}/../postgresql84/files
PATCHDIR?= ${.CURDIR}/../postgresql84/patches