From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 9 09:56:37 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 543991065686; Tue, 9 Aug 2011 09:56:37 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 13F3A8FC14; Tue, 9 Aug 2011 09:56:36 +0000 (UTC) Received: by iye7 with SMTP id 7so4296iye.17 for ; Tue, 09 Aug 2011 02:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=4Ko+9ktmlHRL1Xo9Q3JAHIHI4LAo0etBbmbxGBe7pxs=; b=VssRsGOPovQRLTJ+rfl9G4pnHLaJ6tDiADyaSm8+xxn1I6AZU9lf8p/GJQe/Mofwjw 0EHiNyA8Z8+05ORJR/ZKsOx97b15DR5G/uTtXlekAc4D5l6H5SGeMvlPZSwIvYx1yGK5 9VM6mQ15oTtlL1pbh2CAd/kPkp13PToBXYROg= MIME-Version: 1.0 Received: by 10.42.162.1 with SMTP id v1mr6561905icx.381.1312883796540; Tue, 09 Aug 2011 02:56:36 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.43.45.134 with HTTP; Tue, 9 Aug 2011 02:56:36 -0700 (PDT) Date: Tue, 9 Aug 2011 11:56:36 +0200 X-Google-Sender-Auth: gmQJd4b1cO7qFBxVxcVGCID7cWQ Message-ID: From: Robert Millan To: freebsd-hackers@freebsd.org, Ed Maste Content-Type: multipart/mixed; boundary=90e6ba6e8ab452fc5e04aa0f94b6 Cc: Subject: [PATCH] replace hardcoded /usr/local with a variable in devd.conf to make it easier to override 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: Tue, 09 Aug 2011 09:56:37 -0000 --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 b21iaW5lZCB0bwogCSMgY3JlYXRlIGEgREZBIHRoYXQncyB1c2VkIHRvIG1hdGNoIGV2ZW50cyB0 byBhY3Rpb25zLgogCWRpcmVjdG9yeSAiL2V0Yy9kZX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