commit 4746372b00f5e2381aa2fa70e7db22c19ad83833 Author: Juergen Daubert <jue@jue.li> Date: Mon Aug 30 16:02:34 2021 +0200 libffi: remove unneeded sed lines diff --git a/libffi/.signature b/libffi/.signature index ddc22f49..7be9403d 100644 --- a/libffi/.signature +++ b/libffi/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqijyZpnaVETBhm8Al56Zc/HrGtFtjB3VdUUbMrp2Dud654qwiuT7kwP1ivysmxVH3cK04Wp6sQRIvD6bLwyjigI= -SHA256 (Pkgfile) = b10017fa183dc68c0077b22e8a0727503e4fe837d31e1ce8ab53fb57dc270d26 +RWRJc1FUaeVeqpvODbAYO6WrgiPqQ7ZYWdIYSev9t4yVlJaLE3Ec5hPVyovdn+eQoyDjxil45+/TZf4bLq4wrJPY847LKOnaBAA= +SHA256 (Pkgfile) = e88b9ec66a3139ed185b736657b58c1927dd1ec45e7f1b2affb3dbf746a8d9aa SHA256 (.footprint) = 5288452378090453d6bf63360dfd7c522e7a1dd8efaa6bf70daf7a1e92656eb7 SHA256 (libffi-3.3.tar.gz) = 72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056 diff --git a/libffi/Pkgfile b/libffi/Pkgfile index 1d449011..b3384af0 100644 --- a/libffi/Pkgfile +++ b/libffi/Pkgfile @@ -1,6 +1,6 @@ # Description: Portable Foreign Function Interface Library -# URL: https://sourceware.org/libffi/ -# Maintainer: CRUX System Team, core-ports at crux dot nu +# URL: https://sourceware.org/libffi/ +# Maintainer: CRUX System Team, core-ports at crux dot nu name=libffi version=3.3 @@ -8,18 +8,9 @@ release=1 source=(https://sourceware.org/pub/$name/$name-$version.tar.gz) build() { - cd $name-$version - - sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ - -i include/Makefile.in - - sed \ - -e '/^includedir/ s/=.*$/=@includedir@/' \ - -e 's/^Cflags: -I${includedir}/Cflags:/' \ - -i libffi.pc.in - - ./configure --prefix=/usr - make - make DESTDIR=$PKG install - rm -r $PKG/usr/share/info + cd $name-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/info }