pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/cups Fixed two hard-coded paths to /var.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e87b77fe210f
branches:  trunk
changeset: 533943:e87b77fe210f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Oct 08 11:39:47 2007 +0000

description:
Fixed two hard-coded paths to /var.

diffstat:

 print/cups/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 3f7eda44b854 -r e87b77fe210f print/cups/Makefile
--- a/print/cups/Makefile       Mon Oct 08 10:13:56 2007 +0000
+++ b/print/cups/Makefile       Mon Oct 08 11:39:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2007/08/15 04:15:10 markd Exp $
+# $NetBSD: Makefile,v 1.126 2007/10/08 11:39:47 rillig Exp $
 #
 # The CUPS author is very good about taking back changes into the main
 # CUPS distribution.  The correct place to send patches or bug-fixes is:
@@ -94,12 +94,14 @@
 PKG_GROUPS_VARS+=      CUPS_GROUP
 PKG_USERS_VARS+=       CUPS_USER
 
+BUILD_DEFS+=           VARBASE
+
 DOCDIR=                        ${PREFIX}/share/doc/cups
 EGDIR=                 ${PREFIX}/share/examples/cups
 PKG_SYSCONFSUBDIR=     cups
 CUPS_CONFDIR=          ${PKG_SYSCONFDIR}
-CUPS_LOGDIR=           /var/log/cups
-CUPS_REQUESTS=         /var/spool/cups
+CUPS_LOGDIR=           ${VARBASE}/log/cups
+CUPS_REQUESTS=         ${VARBASE}/spool/cups
 
 PKG_GROUPS=            ${CUPS_GROUP}
 PKG_USERS=             ${CUPS_USER}:${CUPS_GROUP}



Home | Main Index | Thread Index | Old Index