aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-14 22:24:15 +0800
committermnag <mnag@FreeBSD.org>2005-10-14 22:24:15 +0800
commitf06c784660e72d441bfea3e4ef64c57431962d4e (patch)
treea5a1a4d94e9bd37099375589eb0bcdc6b7ea9554
parentb2cb8b00cb5131ae043253960b120367d7aa5466 (diff)
downloadfreebsd-ports-gnome-f06c784660e72d441bfea3e4ef64c57431962d4e.tar.gz
freebsd-ports-gnome-f06c784660e72d441bfea3e4ef64c57431962d4e.tar.zst
freebsd-ports-gnome-f06c784660e72d441bfea3e4ef64c57431962d4e.zip
Backport WITH_OPENLDAP_VER from mail/postfix
-rw-r--r--mail/postfix-current/Makefile3
-rw-r--r--mail/postfix21/scripts/configure.postfix5
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 89139c37c7b4..8a49f9451e23 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -196,6 +196,9 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -L${LOCALBASE}/pgsql/lib -lpq -lcrypt
.if defined(WITH_OPENLDAP)
USE_OPENLDAP=YES
+.if defined(WITH_OPENLDAP_VER)
+WANT_OPENLDAP_VER=${WITH_OPENLDAP_VER}
+.endif
POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lldap -llber
.endif
diff --git a/mail/postfix21/scripts/configure.postfix b/mail/postfix21/scripts/configure.postfix
index 0a9d441da31e..1d8c8824e184 100644
--- a/mail/postfix21/scripts/configure.postfix
+++ b/mail/postfix21/scripts/configure.postfix
@@ -1,5 +1,5 @@
#!/bin/sh
-# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.60 2005-09-11 21:43:50 vsevolod Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.61 2005-10-14 14:24:15 mnag Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@@ -184,6 +184,9 @@ while [ "$1" ]; do
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap"
+ echo ".if defined(WITH_OPENLDAP_VER)"
+ echo "WANT_OPENLDAP_VER=\${WITH_OPENLDAP_VER}"
+ echo ".endif"
;;
Test)
echo "BINTEST= smtp-sink smtp-source qmqp-source"