summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/rp-pppoe-libre/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/rp-pppoe-libre/PKGBUILD b/libre/rp-pppoe-libre/PKGBUILD
index c70ed76de..2158c2892 100644
--- a/libre/rp-pppoe-libre/PKGBUILD
+++ b/libre/rp-pppoe-libre/PKGBUILD
@@ -29,12 +29,16 @@ md5sums=('13b5900c56bd602df6cc526e5e520722'
'3c53d550ac408608abb0b6cd6b76b6c2')
build() {
- cd "$srcdir/$_pkgname-$pkgver/src"
- patch -Np2 -i ../../kmode.patch
+ cd "$srcdir/$_pkgname-$pkgver"
## Adding patch to remove unfree software recommendation (ServPoET)
patch -Np1 -i "$srcdir/rp-pppoe-libre.patch"
+ cd ./src
+
+ ## Adding support kernel mode
+ patch -Np2 -i ../../kmode.patch
+
./configure --prefix=/usr --enable-plugin
make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so
}