aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql90-server/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-06-28 21:48:56 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-06-28 21:48:56 +0000
commit10b5ded080351531c82acebc0da4d8d004a7ded0 (patch)
tree036c7d1f849d0c206d53d047616b6dbd7d9eaace /databases/postgresql90-server/Makefile
parentabb2a3b0a67f29ebde0416d7081b37a52c20f8e0 (diff)
downloadports-10b5ded080351531c82acebc0da4d8d004a7ded0.tar.gz
ports-10b5ded080351531c82acebc0da4d8d004a7ded0.zip
Upgrade to 7.4.3.
PR: ports/68456 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=112502
Diffstat (limited to 'databases/postgresql90-server/Makefile')
-rw-r--r--databases/postgresql90-server/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile
index 782803659342..4e1d17dd2e2d 100644
--- a/databases/postgresql90-server/Makefile
+++ b/databases/postgresql90-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= postgresql
-PORTVERSION?= 7.4.2
+PORTVERSION?= 7.4.3
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
@@ -91,8 +91,18 @@ WITH_KRB5= yes
.endif
.if defined(WITH_HEIMDAL_KRB5)
-KRB5CONF= /usr/bin/krb5-config
WITH_KRB5= yes
+.if defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
+CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME}
+KRB5CONF= ${HEIMDAL_HOME}/bin/krb5-config
+.elif ( defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105 ) && exists(${DESTDIR}/usr/lib/libkrb5.a)
+CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr
+KRB5CONF= ${DESTDIR}/usr/bin/krb5-config
+.else
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
+KRB5CONF= ${LOCALBASE}/bin/krb5-config
+.endif
.endif
.include <bsd.port.pre.mk>