From 6157a25357ee15b6ad1c370d0a3ba8bb311ceb06 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 19 Jul 2020 18:45:30 +0200 Subject: [PATCH] plan9port: remove all references to /usr/local/plan9 Fixes #23639. --- srcpkgs/plan9port/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template index 891e2a6cf36..5416ac5af0a 100644 --- a/srcpkgs/plan9port/template +++ b/srcpkgs/plan9port/template @@ -1,7 +1,7 @@ # Template file for 'plan9port' pkgname=plan9port version=20200222 -revision=2 +revision=3 _githash=92aa0e13ad8cec37936998a66eb728bfca88d689 archs="i686* x86_64* ppc*" wrksrc="${pkgname}-${_githash}" @@ -28,6 +28,8 @@ post_extract() { -i src/cmd/faces/mkfile \ -i src/cmd/mkfile vsed -e 's/-lX11$/& $LDFLAGS/g' -i src/cmd/rio/mkfile + sed -i "s,/usr/local/plan9,/usr/lib/plan9,g" \ + $(grep -lr /usr/local/plan9) } do_build() { CFLAGS+=' -D_DEFAULT_SOURCE'