Subject: bug#71158: [PATCH] gnu: tr7: Correct library path.

From: Antero Mejr <[email-masked]>
Date: Fri, 24 May 2024 00:40:16 +0000

* gnu/packages/scheme.scm (tr7)[arguments]: Update configure phase.

Change-Id: I543bb960b52a996912a2e820c83746866902bbb4
---
 gnu/packages/scheme.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index a91a2d693d..b357529d7c 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -882,7 +882,10 @@ (define-public tr7
                 (("PREFIX = /usr/local")
                  (string-append "PREFIX=" #$output))
                 (("ALL = \\$\\(LIBSTA\\) \\$\\(TR7I\\) tags")
-                 "ALL = $(LIBSTA) $(TR7I)"))))
+                 "ALL = $(LIBSTA) $(TR7I)")
+                (("-DDEFLIBPATH='\"\\$\\(PWD\\)/tr7libs\"'")
+                 (string-append "-DDEFLIBPATH='\""
+                                #$output "/share/tr7/libs" "\"'")))))
           (replace 'build
             (lambda _
               (setenv "CC" #$(cc-for-target))

base-commit: 9901416233867233192b63fde7f616751127b189
-- 
2.41.0