[arch-commits] Commit in fontforge/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Nov 4 19:29:49 UTC 2019
Date: Monday, November 4, 2019 @ 19:29:48
Author: arojas
Revision: 366753
Fix linking with python 3.8
Modified:
fontforge/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++++
1 file changed, 6 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-04 18:35:28 UTC (rev 366752)
+++ PKGBUILD 2019-11-04 19:29:48 UTC (rev 366753)
@@ -15,6 +15,12 @@
source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('d92075ca783c97dc68433b1ed629b9054a4b4c74ac64c54ced7f691540f70852')
+prepare() {
+ cd $pkgname-$pkgver
+ sed -e 's|python-"${PYTHON_VERSION}"|python-"${PYTHON_VERSION}"-embed|g' -i m4/fontforge_arg_enable.m4 # Fix linking to python 3.8
+ autoreconf -vif
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
More information about the arch-commits
mailing list