From 2d8a3551b41d27723471a9a5e5460706fe2d2d1f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 10 May 2021 08:56:01 -0500 Subject: gn: genome-browser: Fix freetype error. --- gn/packages/bioinformatics.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn/packages') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 5fdbd4d..a59c758 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -1615,7 +1615,8 @@ multiple sequence alignment.") ;; Force linking with freetype. (substitute* "inc/common.mk" (("libpng-config --ldflags") "pkg-config --libs libpng freetype2") - (("libpng-config --I_opts") "pkg-config --cflags-only-I libpng freetype2")) + (("libpng-config --I_opts") "pkg-config --cflags-only-I libpng freetype2") + (("\\$\\{HG_INC\\}" hg_inc) (string-append hg_inc " -DUSE_FREETYPE"))) ;; Force the trash location. (substitute* (cons* -- cgit v1.2.3