[Bug 201140] sysutils/am-utils gdbm-compatabilty

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 27 13:00:35 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201140

--- Comment #1 from Walter Schwarzenfeld <w.litter at aon.at> ---
For a reason I don't  know it ignores CONFIGURE_ARGS in the port Makefile.

if I change from

.if ${PORT_OPTIONS:MOPENLDAP}
USE_OPENLDAP=   yes
CONFIGURE_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

to

.if ${PORT_OPTIONS:MOPENLDAP}
USE_OPENLDAP=   yes
LDFLAGS+=       -L${LOCALBASE}/lib -lgdbm_compat
CONFIGURE_ARGS+=--with-ldap=yes 

DOCS+=          README.ldap ldap-id.txt ldap.schema
PLIST_SUB+=     LDAP_DOC=""
.else
PLIST_SUB+=     LDAP_DOC="@comment "
CONFIGURE_ARGS+=--with-ldap=no
.endif

it compiles fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list