From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 97671138824 for ; Thu, 23 Oct 2014 17:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EE4AE07C5; Thu, 23 Oct 2014 17:58:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AAE8DE07C5 for ; Thu, 23 Oct 2014 17:58:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42FDF34052E for ; Thu, 23 Oct 2014 17:58:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD0D388D5 for ; Thu, 23 Oct 2014 17:57:59 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1414002457.89c8a62a1078e770e12c47f06c8dbc9c2924e771.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/librc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/librc/rc.h.in X-VCS-Directories: src/librc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 89c8a62a1078e770e12c47f06c8dbc9c2924e771 X-VCS-Branch: master Date: Thu, 23 Oct 2014 17:57:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f7b7862d-88b6-4750-bc05-f32528c8c547 X-Archives-Hash: baeaeba7a3a36faddb632ec4e439f2a2 commit: 89c8a62a1078e770e12c47f06c8dbc9c2924e771 Author: Gabriele Giacone <1o5g4r8o gmail com> AuthorDate: Wed Oct 22 02:17:52 2014 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Oct 22 18:27:37 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=89c8a62a Fix rc_svcdir for GNU/kFreeBSD --- src/librc/rc.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 5ef8d7f..8f0e889 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -42,7 +42,7 @@ extern "C" { #define RC_LIBEXECDIR "@LIBEXECDIR@" #if defined(PREFIX) #define RC_SVCDIR RC_LIBEXECDIR "/init.d" -#elif defined(__linux__) +#elif defined(__linux__) || defined(__FreeBSD_kernel__) #define RC_SVCDIR "/run/openrc" #else #define RC_SVCDIR RC_LIBEXECDIR "/init.d"