diff options
author | markm <markm@FreeBSD.org> | 2003-09-27 17:33:03 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-09-27 17:33:03 +0000 |
commit | 5d7ab905537cf3d26a709b2f6b4ef09c01523d5e (patch) | |
tree | 0034591a81879673b8fbec937377b1847ae7a1c8 /etc | |
parent | edc864517bf527ee9325119f2f5e8c0c109c01a6 (diff) | |
download | FreeBSD-src-5d7ab905537cf3d26a709b2f6b4ef09c01523d5e.zip FreeBSD-src-5d7ab905537cf3d26a709b2f6b4ef09c01523d5e.tar.gz |
Don't install etc/printcap in the NO_LPR case; ports like 'cups'
make their own etc/printcap if they need it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index 8cc4d9e..e048b0a 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -11,7 +11,7 @@ BIN1= amd.map apmd.conf auth.conf \ hosts hosts.allow hosts.equiv hosts.lpd \ inetd.conf login.access login.conf \ mac.conf motd netconfig network.subr networks newsyslog.conf \ - phones printcap profile protocols \ + phones profile protocols \ rc rc.firewall rc.firewall6 rc.sendmail rc.shutdown \ rc.subr remote rpc services \ shells sysctl.conf syslog.conf usbd.conf \ @@ -79,6 +79,11 @@ distribution: .if !defined(NO_I4B) cd ${.CURDIR}/isdn; ${MAKE} install .endif +.if !defined(NO_LPR) + cd ${.CURDIR}; \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ + printcap ${DESTDIR}/etc +.endif .if !defined(NO_SENDMAIL) cd ${.CURDIR}/sendmail; ${MAKE} distribution .endif |