summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-08 11:39:47 +0000
committerrillig <rillig@pkgsrc.org>2007-10-08 11:39:47 +0000
commit7a52bb13d655d8bcc1d50ea570fcca4f9037b252 (patch)
tree1ad2a5cae4fd936ce769619425f1d3ebf3c971d4 /print
parentdc56cbc8d237109462246b98d4e436b5b35614b3 (diff)
downloadpkgsrc-7a52bb13d655d8bcc1d50ea570fcca4f9037b252.tar.gz
Fixed two hard-coded paths to /var.
Diffstat (limited to 'print')
-rw-r--r--print/cups/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index 8a88289e916..d5020e77742 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -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 @@ FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP:Q}
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}