[Bug 201140] sysutils/am-utils gdbm-compatabilty
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 27 13:55:43 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201140
--- Comment #2 from Walter Schwarzenfeld <w.litter at aon.at> ---
It seems I know why:
.if ${PORT_OPTIONS:MOPENLDAP}
USE_OPENLDAP= yes
LDFLAGS+= -L${LOCALBASE}/lib -lgdbm_compat
ONFIGURE_ARGS+=--with-ldap=yes
--enable-ldflags=-L${LOCALBASE}/lib \
--enable-cppflags=-I${LOCALBASE}/include
DOCS+= README.ldap ldap-id.txt ldap.schema
PLIST_SUB+= LDAP_DOC=""
.else
PLIST_SUB+= LDAP_DOC="@comment "
CONFIGURE_ARGS+=--with-ldap=no
.endif
with
OPENLDAP_CONFIGURE_WITH= ldap \
-L${LOCALBASE}/lib \
-I${LOCALBASE}/include
.if ${PORT_OPTIONS:MOPENLDAP}
USE_OPENLDAP= yes
DOCS+= README.ldap ldap-id.txt ldap.schema
PLIST_SUB+= LDAP_DOC=""
.else
PLIST_SUB+= LDAP_DOC="@comment "
.endif
And now theres no need for "-lgdbm -lgdbm_compat" in the Makefile.
I know there is a other way with the docs, but this I can't figure out.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list