ports/84176: net/powerdns: Fix OpenLDAP due to pdns' Makefile changes
Ralf van der Enden
Ralf.vdEnden at wldelft.nl
Thu Jul 28 11:00:38 UTC 2005
The following reply was made to PR ports/84176; it has been noted by GNATS.
From: "Ralf van der Enden" <Ralf.vdEnden at wldelft.nl>
To: <bug-followup at freebsd.org>, "Ralf van der Enden" <tremere at cainites.net>
Cc:
Subject: Re: ports/84176: net/powerdns: Fix OpenLDAP due to pdns' Makefile changes
Date: Thu, 28 Jul 2005 12:56:34 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_005E_01C59373.C88C09B0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
Sorry for all the separate patches. I promise this is the last one
concerning the OpenLDAP issues.
LDAP required another addition to the CXXFLAGS variable to
set -L/usr/local/lib (for some mysterious reason the Makefiles don't include
that as a standard anymore).
Also reworked the WANT_OPENLDAP_VER a bit since version 2.1 is no longer
available.
Best regards,
Ralf
------=_NextPart_000_005E_01C59373.C88C09B0
Content-Type: application/octet-stream;
name="pdns-ldap-cxxflags-fix.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="pdns-ldap-cxxflags-fix.patch"
diff -ruN powerdns.orig/Makefile powerdns/Makefile=0A=
--- powerdns.orig/Makefile Thu Jul 28 12:45:22 2005=0A=
+++ powerdns/Makefile Thu Jul 28 11:53:25 2005=0A=
@@ -82,6 +82,7 @@=0A=
USE_LIBTOOL_VER=3D 15=0A=
INSTALLS_SHLIB=3D YES=0A=
CONFIGURE_MODULES+=3D "ldap"=0A=
+CXXFLAGS+=3D -L/usr/local/lib=0A=
PLIST_SUB+=3D WITHLDAP=3D""=0A=
.else=0A=
PLIST_SUB+=3D WITHLDAP=3D"@comment "=0A=
diff -ruN powerdns.orig/files/configure.powerdns =
powerdns/files/configure.powerdns=0A=
--- powerdns.orig/files/configure.powerdns Thu Jul 28 12:44:55 2005=0A=
+++ powerdns/files/configure.powerdns Thu Jul 28 12:49:10 2005=0A=
@@ -16,8 +16,8 @@=0A=
MySQL323 "MySQL 3.23 driver" OFF \=0A=
MySQL40 "MySQL 4.0 driver" OFF \=0A=
MySQL41 "MySQL 4.1 driver" OFF \=0A=
-OpenLDAP21 "OpenLDAP 2.1 backend" OFF \=0A=
OpenLDAP22 "OpenLDAP 2.2 backend" OFF \=0A=
+OpenLDAP23 "OpenLDAP 2.3 backend" OFF \=0A=
SQLite "SQLite backend" OFF \=0A=
Recursor "Build Recursor" OFF \=0A=
2> /tmp/checklist.tmp.$$=0A=
@@ -58,12 +58,12 @@=0A=
echo WITH_MYSQL_DRIVER=3DYES=0A=
echo WITH_MYSQL_VER?=3D41=0A=
;;=0A=
- \"OpenLDAP21\")=0A=
+ \"OpenLDAP22\")=0A=
echo WITH_LDAP=3DYES=0A=
;;=0A=
- \"OpenLDAP22\")=0A=
+ \"OpenLDAP23\")=0A=
echo WITH_LDAP=3DYES=0A=
- echo WANT_OPENLDAP_VER?=3D22=0A=
+ echo WANT_OPENLDAP_VER?=3D23=0A=
;;=0A=
\"SQLite\")=0A=
echo WITH_SQLITE=3DYES=0A=
------=_NextPart_000_005E_01C59373.C88C09B0--
More information about the freebsd-ports-bugs
mailing list