From 4371b0d2c8e8512ffdc53779a271e74ca37530ec Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Mon, 5 Sep 2022 16:58:41 +0200 Subject: [PATCH] lout, fix build (#7161) --- app-text/lout/lout-3.42.1.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-text/lout/lout-3.42.1.recipe b/app-text/lout/lout-3.42.1.recipe index d56bee224..56421c3f2 100644 --- a/app-text/lout/lout-3.42.1.recipe +++ b/app-text/lout/lout-3.42.1.recipe @@ -8,7 +8,7 @@ Lout is inherently multilingual. Adding new languages is easy." HOMEPAGE="https://github.com/william8000/lout" COPYRIGHT="1991-2010 Jeffrey H. Kingston" LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="$HOMEPAGE/archive/refs/tags/3.42.1.tar.gz" CHECKSUM_SHA256="b0b2f66a0f959bc80835966c69ae4d4eef2cb0def2b03e634bf1c7e55b1fe6dd" @@ -36,6 +36,8 @@ BUILD_PREREQUIRES=" BUILD() { + sed -i "s/USELOC\t= 1/USELOC\t= 0/" makefile + make PDF_COMPRESSION=1 ZLIB=-lz \ PREFIX=$prefix \ LIBDIR=$dataDir/lout-$portVersion \ @@ -51,4 +53,7 @@ INSTALL() LOUTDOCDIR=$docDir \ MANDIR=$manDir/man1 \ allinstall + + # cleanup empty directory + rmdir $dataDir/lout-$portVersion/lib/locale }