This patch moves the library install path to lib on x86_64 to pass the
validate-runpath phase. Tested on my local machine.

Thanks,
David
From 65ea73868e3374d56793cde163172ad9749fe3af Mon Sep 17 00:00:00 2001
From: David Hashe <david.ha...@dhashe.com>
Date: Tue, 5 May 2015 01:48:28 -0500
Subject: [PATCH] gnu: webkitgtk: Fix compilation on x86_64.

* gnu/packages/webkit.scm (webkitgtk): Move library install path from lib64 to
 lib.
---
 gnu/packages/webkit.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index e6de8ab..873428c 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Sou Bunnbu <iyzs...@gmail.com>
+;;; Copyright © 2015 David Hashe <david.ha...@dhashe.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -54,10 +55,16 @@
                (base32
                 "1zv030ryfwwp57yzlpr9bgpxcmc64izsxk2vsyd4kjhns9cl88bx"))))
     (build-system cmake-build-system)
     (arguments
      '(#:tests? #f ; no tests
        #:build-type "Release" ; turn off debugging symbols to save space
-       #:configure-flags '("-DPORT=GTK")))
+       #:configure-flags (list
+                          "-DPORT=GTK"
+                          (string-append ; uses lib64 by default
+                           "-DLIB_INSTALL_DIR="
+                           (assoc-ref %outputs "out") "/lib"))
+       #:make-flags '("lib=lib"))) ; uses lib64 by default
     (native-inputs
      `(("bison" ,bison)
        ("gettext" ,gnu-gettext)
-- 
1.9.1

Reply via email to