From c9f23ed2e8eb56e2eeb84680528f43cf8d718b6f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 25 Jun 2019 20:20:23 +0200 Subject: [PATCH] gxemul: fix manpage installation. --- srcpkgs/gxemul/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/gxemul/template b/srcpkgs/gxemul/template index 1b46630025e..4758812cf67 100644 --- a/srcpkgs/gxemul/template +++ b/srcpkgs/gxemul/template @@ -1,7 +1,7 @@ # Template file for 'gxemul' pkgname=gxemul version=0.6.2 -revision=1 +revision=2 makedepends="libX11-devel" short_desc="Framework for full-system computer architecture emulation" maintainer="Juan RP " @@ -13,11 +13,9 @@ checksum=a703ac7965feb3c701c7677d78c353f0efa1af4d36a9508fb045eb63dd571547 nocross="./_testpri: cannot execute binary file: Exec format error" do_configure() { - PREFIX=/usr ./configure - # Fix man path. - sed -i 's,$(PREFIX)/man,$(PREFIX)/share/man,g' Makefile + PREFIX=/usr MANDIR=${DESTDIR}/usr/share/man ./configure # Skip tests - sed -i '/^install:/s/test//' Makefile + vsed -i '/^install:/s/test//' Makefile } do_build() { make CXX=$CXX CC=$CC ${makejobs}