pkgsrc/sysutils/ups-nut/patches/patch-ad
martin 078a118777 Update ups-nut to 0.44.3 prerelease 5.
Changes are too much to list here, see "Changes" in the distribution
for a detailed list. Various bugfixes and enhancements.
Based on a package provided by collver@linuxfreemail.com.
2001-03-11 13:46:11 +00:00

27 lines
1.1 KiB
Text

$NetBSD: patch-ad,v 1.1 2001/03/11 13:46:12 martin Exp $
--- configure.in.orig Sat Mar 10 15:32:25 2001
+++ configure.in Sat Mar 10 15:32:27 2001
@@ -350,12 +350,16 @@
dnl | let's test it for sanity before proceeding. It's better to |
dnl | catch them here rather than in the program itself at runtime. |
-temp_group=`grep ^$RUN_AS_GROUP: /etc/group`
-if ( test x"$temp_group" = "x" )
-then
- AC_MSG_WARN($RUN_AS_GROUP not found in /etc/group!)
- AC_MSG_ERROR(Restart configure using --with-group and another group name.)
-fi
+dnl | NetBSD's pkgsrc setup creates the user and group AFTER the build
+dnl | and BEFORE install. This gives the configure and build a chance
+dnl | to fail before modifying the group and passwd files.
+dnl
+dnl temp_group=`grep ^$RUN_AS_GROUP: /etc/group`
+dnl if ( test x"$temp_group" = "x" )
+dnl then
+dnl AC_MSG_WARN($RUN_AS_GROUP not found in /etc/group!)
+dnl AC_MSG_ERROR(Restart configure using --with-group and another group name.)
+dnl fi
dnl | All done with group tests. |
dnl +------------------------------------------------------------------+