Date: Tue, 9 Aug 2011 11:56:36 +0200 From: Robert Millan <rmh@debian.org> To: freebsd-hackers@freebsd.org, Ed Maste <emaste@freebsd.org> Subject: [PATCH] replace hardcoded /usr/local with a variable in devd.conf to make it easier to override Message-ID: <CAOfDtXM1V%2BLX-fLvs2AzDHao%2BWUYbpPPdvnuamMy_0WV9_DUDw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--90e6ba6e8ab452fc5e04aa0f94b6 Content-Type: text/plain; charset=UTF-8 Hi, Please could you replace the hardcoded /usr/local with a variable in devd.conf? This will make it easier to override this value (specially useful for downstream distributors of FreeBSD code). Patch attached. -- Robert Millan --90e6ba6e8ab452fc5e04aa0f94b6 Content-Type: text/x-patch; charset=US-ASCII; name="prefix.diff" Content-Disposition: attachment; filename="prefix.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gr4p3uy60 SW5kZXg6IGRldmQuY29uZgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBkZXZkLmNvbmYJKHJldmlzaW9uIDIyNDcy OCkKKysrIGRldmQuY29uZgkod29ya2luZyBjb3B5KQpAQCAtOCwxMiArOCwxNCBAQAogIyBOQjog ZGV2aWNlLW5hbWUgaXMgc2hvcnRoYW5kIGZvciAnbWF0Y2ggZGV2aWNlLW5hbWUnCiAKIG9wdGlv bnMgeworCXNldCBwcmVmaXggIi91c3IvbG9jYWwiOworCiAJIyBFYWNoIGRpcmVjdG9yeSBkaXJl Y3RpdmUgYWRkcyBhIGRpcmVjdG9yeSB0aGUgbGlzdCBvZiBkaXJlY3RvcmllcwogCSMgdGhhdCB3 ZSBzY2FuIGZvciBmaWxlcy4gIEZpbGVzIGFyZSByZWFkLWluIGluIHRoZSBvcmRlciB0aGF0IHRo ZXkKIAkjIGFyZSByZXR1cm5lZCBmcm9tIHJlYWRkaXIoMykuICBUaGUgcnVsZS1zZXRzIGFyZSBj b21iaW5lZCB0b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