summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-07-14 17:09:36 +0000
committerjperkin <jperkin>2014-07-14 17:09:36 +0000
commitac1f17cebb7fbdf55c94a92b0bf2c82757785d39 (patch)
tree1c85b239c2dadee26643f6b22b41d3a77dbe36e6 /databases
parenteb7ede2767752c1ce4d5c3aac5f769bc2ab7a164 (diff)
downloadpkgsrc-ac1f17cebb7fbdf55c94a92b0bf2c82757785d39.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')
-rw-r--r--databases/lbdb/Makefile8
-rw-r--r--databases/lbdb/PLIST4
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