Register self-CONFLICTS between postgresql modules. This also fixes some minor pkglint warnings.diff -r1.26 -r1.27 pkgsrc/databases/postgresql83/Makefile.common
(cheusov)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.26 2012/10/05 22:28:47 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.27 2012/10/21 13:52:15 cheusov Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/postgresql83-adminpack/Makefile | 3 | # used by databases/postgresql83-adminpack/Makefile | |
4 | # used by databases/postgresql83-client/Makefile | 4 | # used by databases/postgresql83-client/Makefile | |
5 | # used by databases/postgresql83-plperl/Makefile | 5 | # used by databases/postgresql83-plperl/Makefile | |
6 | # used by databases/postgresql83-plpython/Makefile | 6 | # used by databases/postgresql83-plpython/Makefile | |
7 | # used by databases/postgresql83-pltcl/Makefile | 7 | # used by databases/postgresql83-pltcl/Makefile | |
8 | # used by databases/postgresql83-server/Makefile | 8 | # used by databases/postgresql83-server/Makefile | |
9 | # | 9 | # | |
10 | # This Makefile fragment is included by all PostgreSQL packages built from | 10 | # This Makefile fragment is included by all PostgreSQL packages built from | |
11 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | 11 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | |
12 | # | 12 | # | |
13 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | 13 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | |
14 | # packages, is as follows: | 14 | # packages, is as follows: | |
@@ -19,26 +19,32 @@ DISTNAME= postgresql-8.3.21 | @@ -19,26 +19,32 @@ DISTNAME= postgresql-8.3.21 | |||
19 | CATEGORIES= databases | 19 | CATEGORIES= databases | |
20 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | 20 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | |
21 | EXTRACT_SUFX= .tar.bz2 | 21 | EXTRACT_SUFX= .tar.bz2 | |
22 | 22 | |||
23 | MAINTAINER?= adam@NetBSD.org | 23 | MAINTAINER?= adam@NetBSD.org | |
24 | HOMEPAGE= http://www.postgresql.org/ | 24 | HOMEPAGE= http://www.postgresql.org/ | |
25 | LICENSE= postgresql-license | 25 | LICENSE= postgresql-license | |
26 | 26 | |||
27 | CONFLICTS+= postgresql-[0-9]* | 27 | CONFLICTS+= postgresql-[0-9]* | |
28 | CONFLICTS+= postgresql7[0-9]-* | 28 | CONFLICTS+= postgresql7[0-9]-* | |
29 | CONFLICTS+= postgresql8[0-24-9]-* | 29 | CONFLICTS+= postgresql8[0-24-9]-* | |
30 | CONFLICTS+= postgresql9[0-9]-* | 30 | CONFLICTS+= postgresql9[0-9]-* | |
31 | 31 | |||
32 | .if !empty(PKGNAME:M*-*-*) | |||
33 | module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} | |||
34 | CONFLICTS+= postgresql8[0-24-9]-${module}-[0-9]* | |||
35 | CONFLICTS+= postgresql9[0-9]-${module}-[0-9]* | |||
36 | .endif | |||
37 | ||||
32 | DISTINFO_FILE?= ${.CURDIR}/../postgresql83/distinfo | 38 | DISTINFO_FILE?= ${.CURDIR}/../postgresql83/distinfo | |
33 | COMMON_FILESDIR?= ${.CURDIR}/../postgresql83/files | 39 | COMMON_FILESDIR?= ${.CURDIR}/../postgresql83/files | |
34 | PATCHDIR?= ${.CURDIR}/../postgresql83/patches | 40 | PATCHDIR?= ${.CURDIR}/../postgresql83/patches | |
35 | 41 | |||
36 | USE_PKGLOCALEDIR= yes | 42 | USE_PKGLOCALEDIR= yes | |
37 | USE_TOOLS+= bison gmake lex msgfmt | 43 | USE_TOOLS+= bison gmake lex msgfmt | |
38 | PKG_SYSCONFSUBDIR= postgresql | 44 | PKG_SYSCONFSUBDIR= postgresql | |
39 | 45 | |||
40 | .include "../../mk/bsd.prefs.mk" | 46 | .include "../../mk/bsd.prefs.mk" | |
41 | 47 | |||
42 | PG_TEMPLATE.SunOS= solaris | 48 | PG_TEMPLATE.SunOS= solaris | |
43 | PG_TEMPLATE.IRIX= irix5 | 49 | PG_TEMPLATE.IRIX= irix5 | |
44 | .if !defined(PG_TEMPLATE.${OPSYS}) | 50 | .if !defined(PG_TEMPLATE.${OPSYS}) |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.22 2012/10/05 22:15:35 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.23 2012/10/21 13:52:15 cheusov Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/postgresql84-adminpack/Makefile | 3 | # used by databases/postgresql84-adminpack/Makefile | |
4 | # used by databases/postgresql84-client/Makefile | 4 | # used by databases/postgresql84-client/Makefile | |
5 | # used by databases/postgresql84-dblink/Makefile | 5 | # used by databases/postgresql84-dblink/Makefile | |
6 | # used by databases/postgresql84-pgcrypto/Makefile | 6 | # used by databases/postgresql84-pgcrypto/Makefile | |
7 | # used by databases/postgresql84-plperl/Makefile | 7 | # used by databases/postgresql84-plperl/Makefile | |
8 | # used by databases/postgresql84-plpython/Makefile | 8 | # used by databases/postgresql84-plpython/Makefile | |
9 | # used by databases/postgresql84-pltcl/Makefile | 9 | # used by databases/postgresql84-pltcl/Makefile | |
10 | # used by databases/postgresql84-server/Makefile | 10 | # used by databases/postgresql84-server/Makefile | |
11 | # | 11 | # | |
12 | # This Makefile fragment is included by all PostgreSQL packages built from | 12 | # This Makefile fragment is included by all PostgreSQL packages built from | |
13 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | 13 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | |
14 | # | 14 | # | |
@@ -21,26 +21,32 @@ DISTNAME= postgresql-8.4.14 | @@ -21,26 +21,32 @@ DISTNAME= postgresql-8.4.14 | |||
21 | CATEGORIES= databases | 21 | CATEGORIES= databases | |
22 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | 22 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | |
23 | EXTRACT_SUFX= .tar.bz2 | 23 | EXTRACT_SUFX= .tar.bz2 | |
24 | 24 | |||
25 | MAINTAINER?= adam@NetBSD.org | 25 | MAINTAINER?= adam@NetBSD.org | |
26 | HOMEPAGE= http://www.postgresql.org/ | 26 | HOMEPAGE= http://www.postgresql.org/ | |
27 | LICENSE= postgresql-license | 27 | LICENSE= postgresql-license | |
28 | 28 | |||
29 | CONFLICTS+= postgresql-[0-9]* | 29 | CONFLICTS+= postgresql-[0-9]* | |
30 | CONFLICTS+= postgresql7[0-9]-* | 30 | CONFLICTS+= postgresql7[0-9]-* | |
31 | CONFLICTS+= postgresql8[0-3]-* | 31 | CONFLICTS+= postgresql8[0-3]-* | |
32 | CONFLICTS+= postgresql9[0-9]-* | 32 | CONFLICTS+= postgresql9[0-9]-* | |
33 | 33 | |||
34 | .if !empty(PKGNAME:M*-*-*) | |||
35 | module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} | |||
36 | CONFLICTS+= postgresql8[0-35-9]-${module}-[0-9]* | |||
37 | CONFLICTS+= postgresql9[0-9]-${module}-[0-9]* | |||
38 | .endif | |||
39 | ||||
34 | DISTINFO_FILE?= ${.CURDIR}/../postgresql84/distinfo | 40 | DISTINFO_FILE?= ${.CURDIR}/../postgresql84/distinfo | |
35 | COMMON_FILESDIR?= ${.CURDIR}/../postgresql84/files | 41 | COMMON_FILESDIR?= ${.CURDIR}/../postgresql84/files | |
36 | PATCHDIR?= ${.CURDIR}/../postgresql84/patches | 42 | PATCHDIR?= ${.CURDIR}/../postgresql84/patches | |
37 | 43 | |||
38 | USE_PKGLOCALEDIR= yes | 44 | USE_PKGLOCALEDIR= yes | |
39 | USE_TOOLS+= bison gmake lex msgfmt | 45 | USE_TOOLS+= bison gmake lex msgfmt | |
40 | PKG_SYSCONFSUBDIR= postgresql | 46 | PKG_SYSCONFSUBDIR= postgresql | |
41 | 47 | |||
42 | .include "../../mk/bsd.prefs.mk" | 48 | .include "../../mk/bsd.prefs.mk" | |
43 | 49 | |||
44 | PG_TEMPLATE.SunOS= solaris | 50 | PG_TEMPLATE.SunOS= solaris | |
45 | PG_TEMPLATE.IRIX= irix5 | 51 | PG_TEMPLATE.IRIX= irix5 | |
46 | .if !defined(PG_TEMPLATE.${OPSYS}) | 52 | .if !defined(PG_TEMPLATE.${OPSYS}) |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.20 2012/10/05 22:15:36 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.21 2012/10/21 13:52:15 cheusov Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/postgresql90-adminpack/Makefile | 3 | # used by databases/postgresql90-adminpack/Makefile | |
4 | # used by databases/postgresql90-client/Makefile | 4 | # used by databases/postgresql90-client/Makefile | |
5 | # used by databases/postgresql90-datatypes/Makefile | 5 | # used by databases/postgresql90-datatypes/Makefile | |
6 | # used by databases/postgresql90-dblink/Makefile | 6 | # used by databases/postgresql90-dblink/Makefile | |
7 | # used by databases/postgresql90-docs/Makefile | 7 | # used by databases/postgresql90-docs/Makefile | |
8 | # used by databases/postgresql90-fuzzystrmatch/Makefile | 8 | # used by databases/postgresql90-fuzzystrmatch/Makefile | |
9 | # used by databases/postgresql90-pgcrypto/Makefile | 9 | # used by databases/postgresql90-pgcrypto/Makefile | |
10 | # used by databases/postgresql90-plperl/Makefile | 10 | # used by databases/postgresql90-plperl/Makefile | |
11 | # used by databases/postgresql90-plpython/Makefile | 11 | # used by databases/postgresql90-plpython/Makefile | |
12 | # used by databases/postgresql90-pltcl/Makefile | 12 | # used by databases/postgresql90-pltcl/Makefile | |
13 | # used by databases/postgresql90-server/Makefile | 13 | # used by databases/postgresql90-server/Makefile | |
14 | # used by databases/postgresql90-upgrade/Makefile | 14 | # used by databases/postgresql90-upgrade/Makefile | |
@@ -21,28 +21,34 @@ | @@ -21,28 +21,34 @@ | |||
21 | # <lang>-postgresql client-side interface to PostgreSQL | 21 | # <lang>-postgresql client-side interface to PostgreSQL | |
22 | # postgresql-<lang> server-side module for PostgreSQL backend | 22 | # postgresql-<lang> server-side module for PostgreSQL backend | |
23 | 23 | |||
24 | DISTNAME= postgresql-9.0.10 | 24 | DISTNAME= postgresql-9.0.10 | |
25 | CATEGORIES= databases | 25 | CATEGORIES= databases | |
26 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | 26 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | |
27 | EXTRACT_SUFX= .tar.bz2 | 27 | EXTRACT_SUFX= .tar.bz2 | |
28 | 28 | |||
29 | MAINTAINER?= adam@NetBSD.org | 29 | MAINTAINER?= adam@NetBSD.org | |
30 | HOMEPAGE= http://www.postgresql.org/ | 30 | HOMEPAGE= http://www.postgresql.org/ | |
31 | LICENSE= postgresql-license | 31 | LICENSE= postgresql-license | |
32 | 32 | |||
33 | CONFLICTS+= postgresql-[0-9]* | 33 | CONFLICTS+= postgresql-[0-9]* | |
34 | CONFLICTS+= postgresql[0-8][0-9]-* | 34 | CONFLICTS+= postgresql[0-8][0-9]-[0-9]* | |
35 | CONFLICTS+= postgresql9[1-9]-* | 35 | CONFLICTS+= postgresql9[1-9]-[0-9]* | |
36 | ||||
37 | .if !empty(PKGNAME:M*-*-*) | |||
38 | module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} | |||
39 | CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* | |||
40 | CONFLICTS+= postgresql9[1-9]-${module}-[0-9]* | |||
41 | .endif | |||
36 | 42 | |||
37 | DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql90/distinfo | 43 | DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql90/distinfo | |
38 | COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql90/files | 44 | COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql90/files | |
39 | PATCHDIR?= ${.CURDIR}/../../databases/postgresql90/patches | 45 | PATCHDIR?= ${.CURDIR}/../../databases/postgresql90/patches | |
40 | 46 | |||
41 | USE_PKGLOCALEDIR= yes | 47 | USE_PKGLOCALEDIR= yes | |
42 | USE_TOOLS+= bison gmake lex msgfmt | 48 | USE_TOOLS+= bison gmake lex msgfmt | |
43 | PKG_SYSCONFSUBDIR= postgresql | 49 | PKG_SYSCONFSUBDIR= postgresql | |
44 | 50 | |||
45 | .include "../../mk/bsd.prefs.mk" | 51 | .include "../../mk/bsd.prefs.mk" | |
46 | 52 | |||
47 | PG_TEMPLATE.SunOS= solaris | 53 | PG_TEMPLATE.SunOS= solaris | |
48 | PG_TEMPLATE.IRIX= irix5 | 54 | PG_TEMPLATE.IRIX= irix5 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.10 2012/10/05 22:15:36 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.11 2012/10/21 13:52:15 cheusov Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/postgresql91-adminpack/Makefile | 3 | # used by databases/postgresql91-adminpack/Makefile | |
4 | # used by databases/postgresql91-client/Makefile | 4 | # used by databases/postgresql91-client/Makefile | |
5 | # used by databases/postgresql91-datatypes/Makefile | 5 | # used by databases/postgresql91-datatypes/Makefile | |
6 | # used by databases/postgresql91-dblink/Makefile | 6 | # used by databases/postgresql91-dblink/Makefile | |
7 | # used by databases/postgresql91-docs/Makefile | 7 | # used by databases/postgresql91-docs/Makefile | |
8 | # used by databases/postgresql91-fuzzystrmatch/Makefile | 8 | # used by databases/postgresql91-fuzzystrmatch/Makefile | |
9 | # used by databases/postgresql91-pgcrypto/Makefile | 9 | # used by databases/postgresql91-pgcrypto/Makefile | |
10 | # used by databases/postgresql91-plperl/Makefile | 10 | # used by databases/postgresql91-plperl/Makefile | |
11 | # used by databases/postgresql91-plpython/Makefile | 11 | # used by databases/postgresql91-plpython/Makefile | |
12 | # used by databases/postgresql91-pltcl/Makefile | 12 | # used by databases/postgresql91-pltcl/Makefile | |
13 | # used by databases/postgresql91-server/Makefile | 13 | # used by databases/postgresql91-server/Makefile | |
14 | # used by databases/postgresql91-upgrade/Makefile | 14 | # used by databases/postgresql91-upgrade/Makefile | |
@@ -21,28 +21,34 @@ | @@ -21,28 +21,34 @@ | |||
21 | # <lang>-postgresql client-side interface to PostgreSQL | 21 | # <lang>-postgresql client-side interface to PostgreSQL | |
22 | # postgresql-<lang> server-side module for PostgreSQL backend | 22 | # postgresql-<lang> server-side module for PostgreSQL backend | |
23 | 23 | |||
24 | DISTNAME= postgresql-9.1.6 | 24 | DISTNAME= postgresql-9.1.6 | |
25 | CATEGORIES= databases | 25 | CATEGORIES= databases | |
26 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | 26 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | |
27 | EXTRACT_SUFX= .tar.bz2 | 27 | EXTRACT_SUFX= .tar.bz2 | |
28 | 28 | |||
29 | MAINTAINER?= adam@NetBSD.org | 29 | MAINTAINER?= adam@NetBSD.org | |
30 | HOMEPAGE= http://www.postgresql.org/ | 30 | HOMEPAGE= http://www.postgresql.org/ | |
31 | LICENSE= postgresql-license | 31 | LICENSE= postgresql-license | |
32 | 32 | |||
33 | CONFLICTS+= postgresql-[0-9]* | 33 | CONFLICTS+= postgresql-[0-9]* | |
34 | CONFLICTS+= postgresql[0-8][0-9]-* | 34 | CONFLICTS+= postgresql[0-8][0-9]-[0-9]* | |
35 | CONFLICTS+= postgresql9[02-9]-* | 35 | CONFLICTS+= postgresql9[02-9]-[0-9]* | |
36 | ||||
37 | .if !empty(PKGNAME:M*-*-*) | |||
38 | module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} | |||
39 | CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* | |||
40 | CONFLICTS+= postgresql9[02-9]-${module}-[0-9]* | |||
41 | .endif | |||
36 | 42 | |||
37 | DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql91/distinfo | 43 | DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql91/distinfo | |
38 | COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql91/files | 44 | COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql91/files | |
39 | PATCHDIR?= ${.CURDIR}/../../databases/postgresql91/patches | 45 | PATCHDIR?= ${.CURDIR}/../../databases/postgresql91/patches | |
40 | 46 | |||
41 | USE_PKGLOCALEDIR= yes | 47 | USE_PKGLOCALEDIR= yes | |
42 | USE_TOOLS+= bison gmake lex msgfmt | 48 | USE_TOOLS+= bison gmake lex msgfmt | |
43 | PKG_SYSCONFSUBDIR= postgresql | 49 | PKG_SYSCONFSUBDIR= postgresql | |
44 | 50 | |||
45 | .include "../../mk/bsd.prefs.mk" | 51 | .include "../../mk/bsd.prefs.mk" | |
46 | 52 | |||
47 | PG_TEMPLATE.SunOS= solaris | 53 | PG_TEMPLATE.SunOS= solaris | |
48 | PG_TEMPLATE.IRIX= irix5 | 54 | PG_TEMPLATE.IRIX= irix5 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.1 2012/10/05 21:03:10 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.2 2012/10/21 13:52:15 cheusov Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/postgresql92-adminpack/Makefile | 3 | # used by databases/postgresql92-adminpack/Makefile | |
4 | # used by databases/postgresql92-client/Makefile | 4 | # used by databases/postgresql92-client/Makefile | |
5 | # used by databases/postgresql92-datatypes/Makefile | 5 | # used by databases/postgresql92-datatypes/Makefile | |
6 | # used by databases/postgresql92-dblink/Makefile | 6 | # used by databases/postgresql92-dblink/Makefile | |
7 | # used by databases/postgresql92-docs/Makefile | 7 | # used by databases/postgresql92-docs/Makefile | |
8 | # used by databases/postgresql92-fuzzystrmatch/Makefile | 8 | # used by databases/postgresql92-fuzzystrmatch/Makefile | |
9 | # used by databases/postgresql92-pgcrypto/Makefile | 9 | # used by databases/postgresql92-pgcrypto/Makefile | |
10 | # used by databases/postgresql92-plperl/Makefile | 10 | # used by databases/postgresql92-plperl/Makefile | |
11 | # used by databases/postgresql92-plpython/Makefile | 11 | # used by databases/postgresql92-plpython/Makefile | |
12 | # used by databases/postgresql92-pltcl/Makefile | 12 | # used by databases/postgresql92-pltcl/Makefile | |
13 | # used by databases/postgresql92-server/Makefile | 13 | # used by databases/postgresql92-server/Makefile | |
14 | # used by databases/postgresql92-upgrade/Makefile | 14 | # used by databases/postgresql92-upgrade/Makefile | |
@@ -21,28 +21,34 @@ | @@ -21,28 +21,34 @@ | |||
21 | # <lang>-postgresql client-side interface to PostgreSQL | 21 | # <lang>-postgresql client-side interface to PostgreSQL | |
22 | # postgresql-<lang> server-side module for PostgreSQL backend | 22 | # postgresql-<lang> server-side module for PostgreSQL backend | |
23 | 23 | |||
24 | DISTNAME= postgresql-9.2.1 | 24 | DISTNAME= postgresql-9.2.1 | |
25 | CATEGORIES= databases | 25 | CATEGORIES= databases | |
26 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | 26 | MASTER_SITES= ${MASTER_SITE_PGSQL:=source/v${PKGVERSION_NOREV}/} | |
27 | EXTRACT_SUFX= .tar.bz2 | 27 | EXTRACT_SUFX= .tar.bz2 | |
28 | 28 | |||
29 | MAINTAINER?= adam@NetBSD.org | 29 | MAINTAINER?= adam@NetBSD.org | |
30 | HOMEPAGE= http://www.postgresql.org/ | 30 | HOMEPAGE= http://www.postgresql.org/ | |
31 | LICENSE= postgresql-license | 31 | LICENSE= postgresql-license | |
32 | 32 | |||
33 | CONFLICTS+= postgresql-[0-9]* | 33 | CONFLICTS+= postgresql-[0-9]* | |
34 | CONFLICTS+= postgresql[0-8][0-9]-* | 34 | CONFLICTS+= postgresql[0-8][0-9]-[0-9]* | |
35 | CONFLICTS+= postgresql9[013-9]-* | 35 | CONFLICTS+= postgresql9[013-9]-[0-9]* | |
36 | ||||
37 | .if !empty(PKGNAME:M*-*-*) | |||
38 | module= ${PKGNAME:C/-[0-9].*$//:C/^.*-//} | |||
39 | CONFLICTS+= postgresql[0-8][0-9]-${module}-[0-9]* | |||
40 | CONFLICTS+= postgresql9[013-9]-${module}-[0-9]* | |||
41 | .endif | |||
36 | 42 | |||
37 | DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql92/distinfo | 43 | DISTINFO_FILE?= ${.CURDIR}/../../databases/postgresql92/distinfo | |
38 | COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql92/files | 44 | COMMON_FILESDIR?= ${.CURDIR}/../../databases/postgresql92/files | |
39 | PATCHDIR?= ${.CURDIR}/../../databases/postgresql92/patches | 45 | PATCHDIR?= ${.CURDIR}/../../databases/postgresql92/patches | |
40 | 46 | |||
41 | USE_PKGLOCALEDIR= yes | 47 | USE_PKGLOCALEDIR= yes | |
42 | USE_TOOLS+= bison gmake lex msgfmt | 48 | USE_TOOLS+= bison gmake lex msgfmt | |
43 | PKG_SYSCONFSUBDIR= postgresql | 49 | PKG_SYSCONFSUBDIR= postgresql | |
44 | 50 | |||
45 | .include "../../mk/bsd.prefs.mk" | 51 | .include "../../mk/bsd.prefs.mk" | |
46 | 52 | |||
47 | PG_TEMPLATE.SunOS= solaris | 53 | PG_TEMPLATE.SunOS= solaris | |
48 | PG_TEMPLATE.IRIX= irix5 | 54 | PG_TEMPLATE.IRIX= irix5 |