diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-07-14 17:09:36 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-07-14 17:09:36 +0000 |
commit | 5945b695af697d2206a90d4466f76cf6cdada95b (patch) | |
tree | 1c85b239c2dadee26643f6b22b41d3a77dbe36e6 /databases/lbdb | |
parent | 28f04e53169a57e0cbe8d6080dec9a9769f0d6f1 (diff) | |
download | pkgsrc-5945b695af697d2206a90d4466f76cf6cdada95b.tar.gz |
lbdb installs scripts dynamically based on the host system, handle the
cases where tac(1) isn't available nor finger(1) on SunOS.
Diffstat (limited to 'databases/lbdb')
-rw-r--r-- | databases/lbdb/Makefile | 8 | ||||
-rw-r--r-- | databases/lbdb/PLIST | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/databases/lbdb/Makefile b/databases/lbdb/Makefile index 8ddf7f8c2d6..d6a18f4b847 100644 --- a/databases/lbdb/Makefile +++ b/databases/lbdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2014/05/29 23:35:24 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2014/07/14 17:09:36 jperkin Exp $ DISTNAME= lbdb_0.35.1 PKGNAME= ${DISTNAME:S/_/-/} @@ -25,6 +25,7 @@ CONFIGURE_ARGS+= --without-pgpk CONFIGURE_ENV+= SH=${TOOLS_SH:Q} CONFIGURE_ENV+= AWK=${TOOLS_AWK:Q} +CONFIGURE_ENV+= ac_cv_path_TAC=NONE .include "options.mk" @@ -34,6 +35,11 @@ EGDIR= ${PREFIX}/share/examples/lbdb CONF_FILES+= ${EGDIR}/lbdb.rc ${PKG_SYSCONFDIR}/lbdb.rc CONF_FILES+= ${EGDIR}/lbdb_ldap.rc ${PKG_SYSCONFDIR}/lbdb_ldap.rc +PLIST_VARS+= finger +.if ${OPSYS} != "SunOS" || exists(/usr/bin/finger) +PLIST.finger= yes +.endif + PLIST_VARS+= yp .if ${OPSYS} != "Interix" PLIST.yp= yes diff --git a/databases/lbdb/PLIST b/databases/lbdb/PLIST index 3b7c2dd3a2c..3ef20193106 100644 --- a/databases/lbdb/PLIST +++ b/databases/lbdb/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:43:17 joerg Exp $ +@comment $NetBSD: PLIST,v 1.6 2014/07/14 17:09:36 jperkin Exp $ bin/lbdb-fetchaddr bin/lbdb_dotlock bin/lbdbq @@ -9,7 +9,7 @@ libexec/lbdb/lbdb_bbdb_query.el libexec/lbdb/lbdb_lib libexec/lbdb/m_bbdb libexec/lbdb/m_fido -libexec/lbdb/m_finger +${PLIST.finger}libexec/lbdb/m_finger libexec/lbdb/m_gnomecard ${PLIST.gnupg}libexec/lbdb/m_gpg ${PLIST.abook}libexec/lbdb/m_abook |