From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 14:27:45 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 7245A1065673; Sun, 14 Nov 2010 14:27:45 +0000 (UTC) Date: Sun, 14 Nov 2010 14:27:45 +0000 From: Alexander Best To: freebsd-hackers@freebsd.org Message-ID: <20101114142745.GA44253@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline Subject: WITH_GPIO and obsolete files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2010 14:27:45 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi there, this patch will remove gpioctl and gpioctl.8 when WITH_GPIO was not specified in src.conf. also i just noticed that src.conf needs to be regenerated, because it's missing the WITH_GPIO description. cheers. alex -- a13x --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="OptionalObsoleteFiles.inc.diff" diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 4ce9968..d9b4e35 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -808,6 +808,11 @@ OLD_FILES+=usr/lib32/libgpib_p.a .endif .endif +.if ${MK_GPIO} == no +OLD_FILES+=usr/sbin/gpioctl +OLD_FILES+=usr/share/man/man8/gpioctl.8.gz +.endif + .if ${MK_GSSAPI} == no OLD_FILES+=usr/lib/libgssapi.a OLD_FILES+=usr/lib/libgssapi.so --LZvS9be/3tNcYl/X--