Skip to content

Commit

Permalink
Fixed hardcoding of Python version in recoll package
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Oct 24, 2022
1 parent 143dc47 commit 25979ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 78 deletions.
4 changes: 3 additions & 1 deletion packages/recoll/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ TERMUX_PKG_SRCURL=http://www.lesbonscomptes.com/recoll/recoll-${TERMUX_PKG_VERSI
TERMUX_PKG_SHA256=025dec0b9745e1ddacd86ee5478f9c52b2da2e5c307f831aaa5b2c7f9d7e8db9
TERMUX_PKG_DEPENDS="aspell, libxapian, libxslt, zlib, python"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-userdoc --disable-python-chm --disable-x11mon --disable-qtgui"

TERMUX_PKG_REVISION=1

termux_step_pre_configure() {
LDFLAGS+=" $($CC -print-libgcc-file-name)"
CXXFLAGS+=" -fPIC"
_PYTHON_VERSION=$(source $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python${_PYTHON_VERSION}/"
}
77 changes: 0 additions & 77 deletions packages/recoll/fix-python-prefix.patch

This file was deleted.

0 comments on commit 25979ae

Please sign in to comment.