diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/memcached/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/main/memcached/APKBUILD b/main/memcached/APKBUILD index 92d22cdda9..8918afbc86 100644 --- a/main/memcached/APKBUILD +++ b/main/memcached/APKBUILD @@ -16,7 +16,7 @@ source="http://www.memcached.org/files/memcached-$pkgver.tar.gz $pkgname.confd $pkgname.initd" -_builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" # secfixes: # 1.4.33-r0: @@ -25,15 +25,12 @@ _builddir="$srcdir/$pkgname-$pkgver" # - CVE-2016-8706 prepare() { - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd $builddir + default_prepare || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -43,7 +40,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$srcdir/$pkgname.initd" \ "$pkgdir/etc/init.d/$pkgname" || return 1 |