summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33def3cb27e6..d64d0093d68d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Feb 25 17:39:04 UTC 2019
+# Tue Dec 3 22:57:15 UTC 2019
pkgbase = trueport
pkgdesc = tty driver for Perle IOLan+ DS TS SDS STS SCS JetStream LanStream LinkStream and 3rd party serial console terminal device servers
pkgver = 6.9.0_1
diff --git a/PKGBUILD b/PKGBUILD
index c6a2bb1dd36d..e879503b2437 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -156,7 +156,10 @@ prepare() {
-i 'Makefile'
# make clean for ptyx forgets a few things
- sed -e 's:rm -f ptymod\.o:rm -f ptyx.mod.o ptyx.o ptymod.o:g' -i 'ptyx/Makefile'
+ sed -e 's:rm -f ptymod\.o:rm -f ptyx.mod.o ptyx.o ptymod.o:g' \
+ -e '# Switch SUBDIRS= to M= for Kernel 5.4' \
+ -e 's:SUBDIRS=:M=$(PWD) &:g' \
+ -i 'ptyx/Makefile'
# Remove CRLF line endings from some files
sed -e 's:\r$::g' -i 'tp_ver.h' 'ptyx/ptyx.h'