summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2002-10-02 22:30:59 +0000
committerdillo <dillo@pkgsrc.org>2002-10-02 22:30:59 +0000
commitf96c9310f7af6cba09ce8a6cc1e2e128c03f2074 (patch)
tree924bacfe25c207ab564e3b9f66fbbaac5b0f4486 /sysutils/ups-nut
parent317244aa10103234796a119ab7754b1cea2ab3de (diff)
downloadpkgsrc-f96c9310f7af6cba09ce8a6cc1e2e128c03f2074.tar.gz
get rid of autoconf build dependency by patching configure
Diffstat (limited to 'sysutils/ups-nut')
-rw-r--r--sysutils/ups-nut/Makefile7
-rw-r--r--sysutils/ups-nut/distinfo3
-rw-r--r--sysutils/ups-nut/patches/patch-ah18
3 files changed, 21 insertions, 7 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index c6329512f8f..f19472dbb70 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2002/09/19 09:04:27 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2002/10/02 22:38:59 dillo Exp $
#
DISTNAME= nut-0.50.0
@@ -10,8 +10,6 @@ MAINTAINER= lukem@netbsd.org
HOMEPAGE= http://www.exploits.org/nut/
COMMENT= Network UPS Tools
-BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
-
USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR} \
@@ -58,9 +56,6 @@ RCD_SCRIPTS= ups upsd upsdriver upslog upsmon
OWN_DIRS= ${NUT_CONFDIR}
OWN_DIRS_PERMS= ${NUT_STATEDIR} ${NUT_USER} ${NUT_GROUP} 0770
-pre-configure:
- cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force
-
pre-install:
@${INSTALL_DATA_DIR} ${NUT_EGDIR}
diff --git a/sysutils/ups-nut/distinfo b/sysutils/ups-nut/distinfo
index f16b4bd40d1..75a45431b4e 100644
--- a/sysutils/ups-nut/distinfo
+++ b/sysutils/ups-nut/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2002/08/25 21:51:05 jlam Exp $
+$NetBSD: distinfo,v 1.15 2002/10/02 22:38:59 dillo Exp $
SHA1 (nut-0.50.0.tar.gz) = b8826f2e7301e5c753ac946574a53d651faf69c3
Size (nut-0.50.0.tar.gz) = 382755 bytes
@@ -7,3 +7,4 @@ SHA1 (patch-ab) = fac1a47430a2c2d692ecede2ac6ed78c60a82566
SHA1 (patch-ac) = 60b2ac079232ab4af1b41928760601f0a09b9ae1
SHA1 (patch-ad) = 1132a678cc53882cc92764ed17bbd4cf4152c58d
SHA1 (patch-ag) = b6ae992f9b92d68683ac6adb7378d11158cc1fdc
+SHA1 (patch-ah) = 352138de98a1a0451f20e6b60e4f0f44bcbe645d
diff --git a/sysutils/ups-nut/patches/patch-ah b/sysutils/ups-nut/patches/patch-ah
new file mode 100644
index 00000000000..ad0054bca45
--- /dev/null
+++ b/sysutils/ups-nut/patches/patch-ah
@@ -0,0 +1,18 @@
+$NetBSD: patch-ah,v 1.1 2002/10/02 22:39:00 dillo Exp $
+
+--- configure.orig Thu Oct 3 00:37:12 2002
++++ configure
+@@ -2684,13 +2684,6 @@ fi
+
+
+
+-grep "^$RUN_AS_GROUP:" /etc/group >/dev/null 2>/dev/null
+-if (test "$?" = "1")
+-then
+- # not found, fatal error
+- echo "configure: warning: $RUN_AS_GROUP not found in /etc/group!" 1>&2
+- echo "configure: warning: You might want to rerun configure using --with-group and another group name." 1>&2
+-fi
+
+
+ echo $ac_n "checking facility for syslog""... $ac_c" 1>&6