summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-06-23 21:13:01 +0000
committerkristerw <kristerw@pkgsrc.org>2005-06-23 21:13:01 +0000
commit1337021aaa2466188b3e50f41faff7ba22479f4f (patch)
tree1db0c35e658790d64be1c919b7475574f6bd2863 /sysutils
parent31379eace11b969672a35d87836aaedf4934b686 (diff)
downloadpkgsrc-1337021aaa2466188b3e50f41faff7ba22479f4f.tar.gz
Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/apcupsd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 8a8ba4df172..2dddf416bc3 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2005/05/22 20:08:31 jlam Exp $
+# $NetBSD: Makefile,v 1.36 2005/06/23 21:13:01 kristerw Exp $
DISTNAME= apcupsd-3.8.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
@@ -12,7 +12,7 @@ COMMENT= UPS power management for APCC Products
BUILD_USES_MSGFMT= yes
USE_PKGINSTALL= yes
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake sh
GNU_CONFIGURE= yes
@@ -35,6 +35,8 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
# this breaks .in files that uses @sbindir@
CONFIGURE_ARGS+= --sbindir=${PREFIX}/sbin
+CONFIGURE_ENV+= ac_cv_path_SCRIPTSHELL="${TOOLS_SH}"
+
EGDIR= ${PREFIX}/share/examples/apcupsd
CONF_FILES_PERMS+= ${EGDIR}/apcupsd.master.conf ${PKG_SYSCONFDIR}/apcupsd.conf ${ROOT_USER} ${ROOT_GROUP} 644