openbsd-ports/print/cups/patches/patch-cups_sh_in
mbalmer 7a65d71e93 CUPS, the Common Unix Printing System.
A cross-platform printing solution for Unix environments,
based on the "Internet Printing Protocol, IPP".

ok alek@
2005-01-16 12:36:42 +00:00

20 lines
388 B
Plaintext

--- cups.sh.in.orig Tue Jun 29 05:14:19 2004
+++ cups.sh.in Sun Nov 7 15:19:29 2004
@@ -91,6 +91,16 @@ case "`uname`" in
fi
;;
+ OpenBSD*)
+ # Set the timezone. /etc/localtime is a symlink in
+ # the default install, but it could be a regular file
+ if test -e /etc/localtime; then
+ export TZ=/etc/localtime
+ fi
+
+ IS_ON=:
+ ;;
+
*)
IS_ON=/bin/true
ECHO=echo