diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-10-21 13:52:15 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-10-21 13:52:15 +0000 |
commit | 37878eb314ecf6f4a35726b0bf32378cd0dec892 (patch) | |
tree | 6c076994674020931959636824077c9e9f3abab4 | |
parent | beef445204af12941e40505f8fda30e0f5eee082 (diff) | |
download | pkgsrc-37878eb314ecf6f4a35726b0bf32378cd0dec892.tar.gz |
Register self-CONFLICTS between postgresql modules.
This also fixes some minor pkglint warnings.
-rw-r--r-- | databases/postgresql83/Makefile.common | 8 | ||||
-rw-r--r-- | databases/postgresql84/Makefile.common | 8 | ||||
-rw-r--r-- | databases/postgresql90/Makefile.common | 12 | ||||
-rw-r--r-- | databases/postgresql91/Makefile.common | 12 | ||||
-rw-r--r-- | databases/postgresql92/Makefile.common | 12 |
5 files changed, 41 insertions, 11 deletions
diff --git a/databases/postgresql83/Makefile.common b/databases/postgresql83/Makefile.common index c49693e585b..718f28828dd 100644 --- a/databases/postgresql83/Makefile.common +++ b/databases/postgresql83/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2012/10/05 22:28:47 adam Exp $ +# $NetBSD: Makefile.common,v 1.27 2012/10/21 13:52:15 cheusov Exp $ # # used by databases/postgresql83-adminpack/Makefile # used by databases/postgresql83-client/Makefile @@ -29,6 +29,12 @@ CONFLICTS+= postgresql7[0-9]-* CONFLICTS+= postgresql8[0-24-9]-* CONFLICTS+= postgresql9[0-9]-* +.if !empty(PKGNAME:M*-*-*) +module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} +CONFLICTS+= postgresql8[0-24-9]-${module}-[0-9]* +CONFLICTS+= postgresql9[0-9]-${module}-[0-9]* +.endif + DISTINFO_FILE?= ${.CURDIR}/../postgresql83/distinfo COMMON_FILESDIR?= ${.CURDIR}/../postgresql83/files PATCHDIR?= ${.CURDIR}/../postgresql83/patches 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 diff --git a/databases/postgresql90/Makefile.common b/databases/postgresql90/Makefile.common index f8f1570d931..60296eaf41e 100644 --- a/databases/postgresql90/Makefile.common +++ b/databases/postgresql90/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.20 2012/10/05 22:15:36 adam Exp $ +# $NetBSD: Makefile.common,v 1.21 2012/10/21 13:52:15 cheusov Exp $ # # used by databases/postgresql90-adminpack/Makefile # used by databases/postgresql90-client/Makefile @@ -31,8 +31,14 @@ HOMEPAGE= http://www.postgresql.org/ LICENSE= postgresql-license CONFLICTS+= postgresql-[0-9]* -CONFLICTS+= postgresql[0-8][0-9]-* -CONFLICTS+= postgresql9[1-9]-* +CONFLICTS+= postgresql[0-8][0-9]-[0-9]* +CONFLICTS+= postgresql9[1-9]-[0-9]* + +.if !empty(PKGNAME:M*-*-*) +module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} +CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* +CONFLICTS+= postgresql9[1-9]-${module}-[0-9]* +.endif DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql90/distinfo COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql90/files diff --git a/databases/postgresql91/Makefile.common b/databases/postgresql91/Makefile.common index 70587783c17..b3ac4ccb808 100644 --- a/databases/postgresql91/Makefile.common +++ b/databases/postgresql91/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.10 2012/10/05 22:15:36 adam Exp $ +# $NetBSD: Makefile.common,v 1.11 2012/10/21 13:52:15 cheusov Exp $ # # used by databases/postgresql91-adminpack/Makefile # used by databases/postgresql91-client/Makefile @@ -31,8 +31,14 @@ HOMEPAGE= http://www.postgresql.org/ LICENSE= postgresql-license CONFLICTS+= postgresql-[0-9]* -CONFLICTS+= postgresql[0-8][0-9]-* -CONFLICTS+= postgresql9[02-9]-* +CONFLICTS+= postgresql[0-8][0-9]-[0-9]* +CONFLICTS+= postgresql9[02-9]-[0-9]* + +.if !empty(PKGNAME:M*-*-*) +module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} +CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* +CONFLICTS+= postgresql9[02-9]-${module}-[0-9]* +.endif DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql91/distinfo COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql91/files diff --git a/databases/postgresql92/Makefile.common b/databases/postgresql92/Makefile.common index 71ca661df1e..63ec70ae4ae 100644 --- a/databases/postgresql92/Makefile.common +++ b/databases/postgresql92/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2012/10/05 21:03:10 adam Exp $ +# $NetBSD: Makefile.common,v 1.2 2012/10/21 13:52:15 cheusov Exp $ # # used by databases/postgresql92-adminpack/Makefile # used by databases/postgresql92-client/Makefile @@ -31,8 +31,14 @@ HOMEPAGE= http://www.postgresql.org/ LICENSE= postgresql-license CONFLICTS+= postgresql-[0-9]* -CONFLICTS+= postgresql[0-8][0-9]-* -CONFLICTS+= postgresql9[013-9]-* +CONFLICTS+= postgresql[0-8][0-9]-[0-9]* +CONFLICTS+= postgresql9[013-9]-[0-9]* + +.if !empty(PKGNAME:M*-*-*) +module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} +CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* +CONFLICTS+= postgresql9[013-9]-${module}-[0-9]* +.endif DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql92/distinfo COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql92/files |