pkgsrc/news/nntpcache/options.mk
obache 235c395dcb Some improvements and fixes:
* Add usual rc script.
 * Include some perl scripts, add perl:run and replace interpreter line.
   Fixes PR 38893.
 * Use VARBASE instead of hard coded /var.
 * Fix user and group mismatch between configure detection and pkgsrc.
   configure try to detect "ntpcache", "news", "daemon", and "adm".
   pkgsrc had used hard coded "news".
   Now using NNTPCACHE_USER and NNTPCACHE_GROUP.
 * Change to use CONF_FILES framework instead of installing to etc directly.
 * Use *_PERMS instead of some PLIST trick.

Bump PKGREVISION.
2008-06-15 13:08:52 +00:00

21 lines
670 B
Makefile

# $NetBSD: options.mk,v 1.4 2008/06/15 13:08:52 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nntpcache
PKG_SUPPORTED_OPTIONS= nntpcache-pgp
# compile error:
# authinfo_ldap.c: In function `ldap_got_pass':
# authinfo_ldap.c:81: error: dereferencing pointer to incomplete type
# authinfo_ldap.c:47: warning: unused variable `dom'
# PKG_SUPPORTED_OPTIONS+= openldap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mnntpcache-pgp)
DEPENDS+= pgp-2.*:../../security/pgp2
CONFIGURE_ENV+= ac_cv_path_PGP=${PREFIX}/bin/pgp
.endif
.if !empty(PKG_OPTIONS:Mopenldap)
CONFIGURE_ARGS+= --with-authinfo-ldap
.include "../../databases/openldap-client/buildlink3.mk"
.endif