diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-06-28 21:48:56 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-06-28 21:48:56 +0000 |
commit | 10b5ded080351531c82acebc0da4d8d004a7ded0 (patch) | |
tree | 036c7d1f849d0c206d53d047616b6dbd7d9eaace /databases/postgresql81-server/Makefile | |
parent | abb2a3b0a67f29ebde0416d7081b37a52c20f8e0 (diff) |
Notes
Diffstat (limited to 'databases/postgresql81-server/Makefile')
-rw-r--r-- | databases/postgresql81-server/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile index 782803659342..4e1d17dd2e2d 100644 --- a/databases/postgresql81-server/Makefile +++ b/databases/postgresql81-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> |