From 855943b9dab337bcf38b2d1deffd5766967a28e8 Mon Sep 17 00:00:00 2001 From: KenjiTakahashi Date: Sat, 22 Jul 2017 21:35:53 +0200 Subject: [PATCH] gnustep-make: Fix vars in config.make Installation process was leaving some parts of the bootstrapped env in the final script. --- srcpkgs/gnustep-make/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gnustep-make/template b/srcpkgs/gnustep-make/template index 218876006b2..211c7f2769b 100644 --- a/srcpkgs/gnustep-make/template +++ b/srcpkgs/gnustep-make/template @@ -1,7 +1,7 @@ # Template build file for 'gnustep-make' pkgname=gnustep-make version=2.7.0 -revision=1 +revision=2 build_style=gnu-configure conf_files="/etc/GNUstep/GNUstep.conf" short_desc="GNU Step Makefile helpers for a GNUstep-based project" @@ -10,3 +10,8 @@ license="LGPL-3" homepage="http://www.gnustep.org" distfiles="http://ftp.gnustep.org/pub/gnustep/core/${pkgname}-${version}.tar.gz" checksum=90a01cbfb68aafe01c4cc4123121ebd2da0e1e2076795b5682f0833fddf311ce + +post_install() { + sed -i 's,/builddir/.xbps-gnustep-make/wrappers,/usr/bin,g' ${DESTDIR}/usr/share/GNUstep/Makefiles/config.make + sed -i 's,-specs=/void-packages/[^ ]* ,,g' ${DESTDIR}/usr/share/GNUstep/Makefiles/config.make +}