|
Lines 20-25
OPTIONS_DEFAULT=OPENLDAP
Link Here
|
| 20 |
OPENLDAP_DESC= OpenLDAP support |
20 |
OPENLDAP_DESC= OpenLDAP support |
| 21 |
|
21 |
|
| 22 |
USES= bison libtool makeinfo perl5 |
22 |
USES= bison libtool makeinfo perl5 |
|
|
23 |
USE_AUTOTOOLS= autoconf |
| 23 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
| 24 |
MAKE_JOBS_UNSAFE=yes |
25 |
MAKE_JOBS_UNSAFE=yes |
| 25 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
|
Lines 34-52
INSTALL_TARGET= install-strip
Link Here
|
| 34 |
INFO= am-utils |
35 |
INFO= am-utils |
| 35 |
DOCS= AUTHORS BUGS FAQ NEWS README.attrcache |
36 |
DOCS= AUTHORS BUGS FAQ NEWS README.attrcache |
| 36 |
|
37 |
|
| 37 |
.include <bsd.port.options.mk> |
38 |
OPENLDAP_USE= OPENLDAP=yes |
|
|
39 |
OPENLDAP_CONFIGURE_WITH= ldap |
| 40 |
OPENLDAP_CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ |
| 41 |
CPPFLAGS="-I${LOCALBASE}/include" |
| 42 |
OPENLDAP_VARS= DOCS+="README.ldap ldap-id.txt ldap.schema" |
| 38 |
|
43 |
|
| 39 |
.if ${PORT_OPTIONS:MOPENLDAP} |
44 |
OPTIONS_SUB= yes |
| 40 |
USE_OPENLDAP= yes |
45 |
|
| 41 |
CONFIGURE_ARGS+=--with-ldap=yes \ |
46 |
.include <bsd.port.options.mk> |
| 42 |
--enable-ldflags=-L${LOCALBASE}/lib \ |
|
|
| 43 |
--enable-cppflags=-I${LOCALBASE}/include |
| 44 |
DOCS+= README.ldap ldap-id.txt ldap.schema |
| 45 |
PLIST_SUB+= LDAP_DOC="" |
| 46 |
.else |
| 47 |
PLIST_SUB+= LDAP_DOC="@comment " |
| 48 |
CONFIGURE_ARGS+=--with-ldap=no |
| 49 |
.endif |
| 50 |
|
47 |
|
| 51 |
post-patch: |
48 |
post-patch: |
| 52 |
@${RM} ${WRKSRC}/doc/am-utils.info* |
49 |
@${RM} ${WRKSRC}/doc/am-utils.info* |