23492495 postfix doesn't build (or work) on s12_100
authorJohn Beck <John.Beck@Oracle.COM>
Wed, 01 Jun 2016 11:27:54 -0700
changeset 6101 e835757b2d7a
parent 6097 c00c10ebf433
child 6102 9ebad09455ea
23492495 postfix doesn't build (or work) on s12_100
components/postfix/Makefile
--- a/components/postfix/Makefile	Wed Jun 01 10:02:47 2016 -0700
+++ b/components/postfix/Makefile	Wed Jun 01 11:27:54 2016 -0700
@@ -55,8 +55,8 @@
 CCARGS +=	-DHAS_SQLITE
 AUXLIBS +=	-lsqlite3
 # LDAP
-CCARGS +=	-DHAS_LDAP
-AUXLIBS +=	-lldap
+CCARGS +=	-DHAS_LDAP -I/usr/include/openldap
+AUXLIBS +=	-lldap_r-2.4 -llber-2.4
 
 # pcre-config is run as part of the setup, so we need to find the 64-bit
 # version so it will provide a 64-bit runpath, o/w pkglint gives warnings.
@@ -73,8 +73,10 @@
 REQUIRED_PACKAGES += database/berkeleydb-5
 REQUIRED_PACKAGES += database/sqlite-3
 REQUIRED_PACKAGES += library/icu
+REQUIRED_PACKAGES += library/openldap
 REQUIRED_PACKAGES += library/pcre
 REQUIRED_PACKAGES += library/security/openssl
 REQUIRED_PACKAGES += shell/ksh93
 REQUIRED_PACKAGES += system/core-os
 REQUIRED_PACKAGES += system/network
+REQUIRED_PACKAGES += system/network/ldap/openldap