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.
This commit is contained in:
Mark H Weaver 2014-04-01 22:58:20 -04:00
parent c27d859707
commit 0d55c3563c
1 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
;;; 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 @@ manpages.")
#: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.)