Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2015 13:00:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201140] sysutils/am-utils gdbm-compatabilty
Message-ID:  <bug-201140-13-6KD0OC4dCH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201140-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201140-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201140

--- Comment #1 from Walter Schwarzenfeld <w.litter@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201140-13-6KD0OC4dCH>