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
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to