From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSesZ-0007KS-Ht for guix-patches@gnu.org; Thu, 07 Nov 2019 05:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSesY-0003wW-IE for guix-patches@gnu.org; Thu, 07 Nov 2019 05:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSesY-0003wB-Ex for guix-patches@gnu.org; Thu, 07 Nov 2019 05:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSesY-0002db-94 for guix-patches@gnu.org; Thu, 07 Nov 2019 05:19:02 -0500 Subject: [bug#38098] [PATCH 2/2] gnu: astyle: Install header file, too. Resent-Message-ID: From: Hartmut Goebel Date: Thu, 7 Nov 2019 11:18:10 +0100 Message-Id: <20191107101810.3284-2-h.goebel@crazy-compilers.com> In-Reply-To: <20191107101810.3284-1-h.goebel@crazy-compilers.com> References: <20191107101810.3284-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38098@debbugs.gnu.org * gnu/packages/code.scm(astyle)[arguments]{install-libs}: Also install header file. --- gnu/packages/code.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index a277434b36..ba350b98e5 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -609,8 +609,9 @@ Objective@tie{}C, D, Java, Pawn, and Vala). Features: (lambda _ (chdir "build/gcc") #t)) (add-after 'install 'install-libs (lambda* (#:key outputs #:allow-other-keys) - ;; Libraries are not installed by default + ;; Libraries and includes are not installed by default (let* ((output (assoc-ref outputs "out")) + (incdir (string-append output "/include")) (libdir (string-append output "/lib"))) (define (make-so-link sofile strip-pattern) (symlink @@ -618,6 +619,9 @@ Objective@tie{}C, D, Java, Pawn, and Vala). Features: (regexp-substitute #f (string-match strip-pattern sofile) 'pre))) + (mkdir-p incdir) + (copy-file "../../src/astyle.h" + (string-append incdir "/astyle.h")) (mkdir-p libdir) (for-each (lambda (l) (copy-file -- 2.21.0