summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authoroaken-source <oaken-source@parabola.nu>2020-01-30 19:25:40 +0100
committeroaken-source <oaken-source@parabola.nu>2020-01-30 19:25:40 +0100
commit04bf529ff5184c73f5577c49f31cfd9b1a0cf688 (patch)
tree2b218a3cc8d256345c47abfdc6233ccb5b525c3f /libre
parent8e1ee56fa9d7e2da869a6f1d8fbf1effd7c50654 (diff)
downloadabslibre-04bf529ff5184c73f5577c49f31cfd9b1a0cf688.tar.gz
abslibre-04bf529ff5184c73f5577c49f31cfd9b1a0cf688.tar.bz2
abslibre-04bf529ff5184c73f5577c49f31cfd9b1a0cf688.zip
libre/tp_smapi-lts: rebuilt against new kernel
Diffstat (limited to 'libre')
-rw-r--r--libre/tp_smapi-lts/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/tp_smapi-lts/PKGBUILD b/libre/tp_smapi-lts/PKGBUILD
index 3befa1ba4..469f7a601 100644
--- a/libre/tp_smapi-lts/PKGBUILD
+++ b/libre/tp_smapi-lts/PKGBUILD
@@ -11,7 +11,7 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
#_basekernel=4.19.91_gnu-1
-_basekernel=4.19.91
+_basekernel=4.19.97
pkgname=tp_smapi-lts
_pkgname=tp-smapi
@@ -24,7 +24,6 @@ arch=('x86_64')
arch+=('i686')
url='https://github.com/evgeni/tp_smapi'
license=('GPL')
-depends=(linux-libre-lts=${_basekernel%-*})
makedepends=(linux-libre-lts-headers=${_basekernel%-*} git libelf)
_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43
source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
@@ -40,10 +39,13 @@ build() {
# https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_):
# Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules
+
make HDAPS=1 KVER="$(</usr/src/linux-libre-lts/version)" EXTRA_CFLAGS=
}
package() {
+ depends=(linux-libre-lts=${_basekernel%-*})
+
local extradir=/usr/lib/modules/$(</usr/src/linux-libre-lts/version)/extramodules
cd tp_smapi