Skip to content
Snippets Groups Projects
Commit 0d55c356 authored by Mark H Weaver's avatar Mark H Weaver
Browse files

gnu: net-tools: Install man pages and locales in share, not usr/share.

* gnu/packages/linux.scm (net-tools): Add 'INSTALLNLSDIR' and 'mandir'
  variables to make flags.
parent c27d8597
No related branches found
No related tags found
No related merge requests found
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
...@@ -690,9 +691,11 @@ (define (apply-patch file) ...@@ -690,9 +691,11 @@ (define (apply-patch file)
#:parallel-build? #f #:parallel-build? #f
#:tests? #f ; no test suite #:tests? #f ; no test suite
#:make-flags (list "CC=gcc" #:make-flags (let ((out (assoc-ref %outputs "out")))
(string-append "BASEDIR=" (list "CC=gcc"
(assoc-ref %outputs "out"))))) (string-append "BASEDIR=" out)
(string-append "INSTALLNLSDIR=" out "/share/locale")
(string-append "mandir=/share/man")))))
;; Use the big Debian patch set (the thing does not even compile out of ;; Use the big Debian patch set (the thing does not even compile out of
;; the box.) ;; the box.)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment