aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-base
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-12-08 17:57:19 +0800
committerdinoex <dinoex@FreeBSD.org>2009-12-08 17:57:19 +0800
commit6cc855857dd380d89e29586cc789ccfa47415d97 (patch)
treea54c3ccf5ee0e62fdfd81bb182ca312a07b1fb93 /print/cups-base
parent0950871a0d1d0a4e6333154ebed5bc465d34135a (diff)
downloadfreebsd-ports-gnome-6cc855857dd380d89e29586cc789ccfa47415d97.tar.gz
freebsd-ports-gnome-6cc855857dd380d89e29586cc789ccfa47415d97.tar.zst
freebsd-ports-gnome-6cc855857dd380d89e29586cc789ccfa47415d97.zip
- do not overwrite /etc/printcap
this lets base lpd and cups coexist on the same system.
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index df3a67c70d38..f680b7cf3eb6 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -84,6 +84,7 @@ USE_LDCONFIG= yes
PKGMESSAGE= ${NONEXISTENT}
DESCR= ${MASTERDIR}/pkg-descr.image
.else
+PORTREVISION= 2
CUPS_SUFFIX= -base
LIB_DEPENDS+= cups.2:${PORTSDIR}/${PKGCATEGORY}/cups-client \
cupsimage.2:${PORTSDIR}/${PKGCATEGORY}/cups-image
@@ -95,8 +96,10 @@ USE_RC_SUBR= cupsd
.if defined(CUPS_OVERWRITE_BASE)
PLIST_SUB+= OVERWRITE=""
+CONFIGURE_ARGS+= --with-printcap=/etc/printcap
.else
PLIST_SUB+= OVERWRITE="@comment "
+CONFIGURE_ARGS+= --with-printcap=${PREFIX}/etc/printcap
.endif
.if !defined(WITHOUT_GNUTLS)