aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-05-06 09:00:32 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-05-06 13:55:36 +0000
commit4c7674747b61af498cbc9665dd57a5815849b8b6 (patch)
treef5f9becf97135d52924e8a4807b3ede910d02a5c
parent1774e745eb33c19d4ce6848ccc3ae8c29382b253 (diff)
downloadaports-4c7674747b61af498cbc9665dd57a5815849b8b6.tar.gz
aports-4c7674747b61af498cbc9665dd57a5815849b8b6.tar.bz2
aports-4c7674747b61af498cbc9665dd57a5815849b8b6.tar.xz
main/libevent: fix shebang in /usr/bin/event_rpcgen.py
Before this change: $ dabuild sh $ sudo apk add libevent-dev >/dev/null && event_rpcgen.py /dev/null env: can't execute 'python': No such file or directory After this change: $ dabuild sh $ sudo apk add libevent-dev >/dev/null && event_rpcgen.py /dev/null Reading "/dev/null" ✂
-rw-r--r--main/libevent/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD
index c1c25cf2cd..9de9f3175c 100644
--- a/main/libevent/APKBUILD
+++ b/main/libevent/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libevent
pkgver=2.1.11
_pkgver=$pkgver-stable
-pkgrel=0
+pkgrel=1
pkgdesc="An event notification library"
url="http://libevent.org/"
arch="all"
@@ -24,6 +24,7 @@ builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
default_prepare
+ sed -i '1s|^#!/usr/bin/env python$|#!/usr/bin/python3|' event_rpcgen.py
# help provides tracing work out correctly
sed -i -e "s/@VERSION@/$pkgver-r$pkgrel/" *.pc.in
}