- Fix build when _saned group doesn't exist

- Bump PKGNAME
This commit is contained in:
alek 2006-04-23 13:32:13 +00:00
parent 0c69c27175
commit 748f58f1f9
2 changed files with 24 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2006/04/23 10:29:53 alek Exp $
# $OpenBSD: Makefile,v 1.8 2006/04/23 13:32:13 alek Exp $
COMMENT= "API for accessing scanners, backends"
DISTNAME= sane-backends-1.0.17
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= sane 1.17
CATEGORIES= graphics

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.3 2006/04/23 10:29:53 alek Exp $
--- configure.orig Mon Dec 19 15:02:38 2005
+++ configure Mon Dec 19 15:02:54 2005
$OpenBSD: patch-configure,v 1.4 2006/04/23 13:32:13 alek Exp $
--- configure.orig Sun Dec 18 14:16:04 2005
+++ configure Sun Apr 23 15:39:34 2006
@@ -4929,7 +4929,7 @@ done
#check if links for dynamic libs should be created
@ -10,3 +10,22 @@ $OpenBSD: patch-configure,v 1.3 2006/04/23 10:29:53 alek Exp $
USE_LINKS=no
;;
*)
@@ -6381,18 +6381,6 @@ if test "${with_group+set}" = set; then
LOCKPATH_GROUP="$withval"
fi;
- # check if the group does exist
- lasterror=""
- touch sanetest.file
- chgrp $LOCKPATH_GROUP sanetest.file 2>/dev/null || lasterror=$?
- rm -f sanetest.file
- if test ! -z "$lasterror"; then
- { echo "$as_me:$LINENO: WARNING: Group $LOCKPATH_GROUP does not exist on this system." >&5
-echo "$as_me: WARNING: Group $LOCKPATH_GROUP does not exist on this system." >&2;}
- { echo "$as_me:$LINENO: WARNING: Locking feature will be disabled." >&5
-echo "$as_me: WARNING: Locking feature will be disabled." >&2;}
- use_locking=no
- fi
fi
if test $use_locking = yes ; then
INSTALL_LOCKPATH=install-lockpath