fix cups compile on freebsd

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5111 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-10-15 13:30:40 +00:00
parent d0bafbabb1
commit e201995543
3 changed files with 41 additions and 16 deletions

View File

@ -0,0 +1,11 @@
--- cups-1.1.23/systemv/Makefile.old Sun Oct 15 03:33:34 2006
+++ cups-1.1.23/systemv/Makefile Sun Oct 15 03:33:55 2006
@@ -77,7 +77,7 @@
$(INSTALL_BIN) lp $(BINDIR)
$(INSTALL_BIN) lpoptions $(BINDIR)
$(INSTALL_BIN) lpstat $(BINDIR)
- -$(INSTALL_BIN) -m 4755 -o $(CUPS_USER) -g $(CUPS_GROUP) lppasswd $(BINDIR)
+ -$(INSTALL_BIN) lppasswd $(BINDIR)
if test ! -x $(BINDIR)/lppasswd; then \
chmod 755 $(BINDIR)/lppasswd; \
fi

View File

@ -0,0 +1,11 @@
--- cups.dev/configure Sun Oct 15 15:22:17 2006
+++ cups.old/configure Sun Oct 15 15:21:40 2006
@@ -1300,7 +1300,7 @@
-uname=`uname`
+uname=${UNAME:-`uname`}
uversion=`uname -r | sed -e '1,$s/[^0-9]//g'`
case "$uname" in
GNU* | GNU/*)