app-text/scdoc: Bump to version 1.3.1. Removed old.

Fixed installation path.

Closes: https://bugs.gentoo.org/655722
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8397
This commit is contained in:
Lars Wendler
2018-05-14 13:02:54 +02:00
parent 688da4db0a
commit 25fc58d987
2 changed files with 5 additions and 3 deletions

View File

@@ -1 +1 @@
DIST scdoc-1.2.3.tar.xz 6920 BLAKE2B 7cafe512016dc7dcfa56216cac3f3fd99ef05dfefb67ce8dba9726c8d60b49829f444f66c62c4ee9a0d2464749510ba60ac0b72996c656e3d66aef80e5ef0546 SHA512 1d5170d2a73ebccdb83ffffbec5ec431aab54b02eea5b062d0210c98636d059dc1fa57bfc1573a0e510cc8849759f6bb6462e3f5a78f22273a10bf47f2e0a2c6
DIST scdoc-1.3.1.tar.xz 8776 BLAKE2B 1d11423abde7ec3e7b03ddc4f9698b7b78cac6972066c57886160974bd885225dc42793d19942c11ffd215f5dddd6453f66cbd083be03132b437b6f6f8a93c8a SHA512 a404df2e2eef76cc02c69f32eb131eaa4d4ed51e96dc6ea39400662f767648538fc27c618cf34c064004918a92940ae5400e91b7b628e431132cb9619d3e94eb

View File

@@ -16,8 +16,10 @@ KEYWORDS="~amd64 ~x86"
src_prepare() {
default
sed -i 's/-Werror//' Makefile || die 'Failed to remove -Werror'
sed -i 's/CFLAGS=/CFLAGS+=/' Makefile || die 'Failed to patch makefile'
sed -e 's/-Werror//' \
-e 's/CFLAGS=/CFLAGS+=/' \
-e '/^PREFIX/s@=.*$@=/usr@' \
-i Makefile || die 'Failed to patch Makefile'
}
src_compile() {