diff options
Diffstat (limited to 'databases/postgresql83/Makefile.common')
-rw-r--r-- | databases/postgresql83/Makefile.common | 8 |
1 files changed, 7 insertions, 1 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 |