From 051a089508dcb9131c5a2e15ec4cdca686e3d2c7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 6 Jun 2013 00:08:39 -0700 Subject: Thu Jun 6 00:08:39 PDT 2013 --- community/inn/PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'community/inn') diff --git a/community/inn/PKGBUILD b/community/inn/PKGBUILD index dd354675d..adc62dab0 100644 --- a/community/inn/PKGBUILD +++ b/community/inn/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 91652 2013-05-26 09:24:36Z bluewind $ +# $Id: PKGBUILD 92442 2013-06-05 11:48:40Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Edward Tjörnhammar # Contributor: Edward Tjörnhammar pkgname=inn pkgver=2.5.3 -pkgrel=6 +pkgrel=7 pkgdesc="Complete open source Usenet system. De facto standard for handling news routing, news spool and serving the spool to customers." url="http://www.isc.org/software/inn/" arch=('i686' 'x86_64') @@ -55,10 +55,16 @@ md5sums=('353fe95232828ddbc80debff86c240bc' '050b7bffff3361c673a118739e42349e' '960c800026ed6e03901cf0bafdfd53d8') -build() { +prepare() { cd $srcdir/inn-$pkgver +# sed -i 's|-export-dynamic gnu|-export-dynamic|' Makefile.global + [ $NOEXTRACT -eq 1 ] || patch -p3 < $srcdir/site.make.patch + sed -i 's|#define L_NOTICE.*|#define L_NOTICE LOG_NOTICE|' include/inn/options.h +} - [ $NOEXTRACT -eq 1 ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ +build() { + cd $srcdir/inn-$pkgver + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --includedir=/usr/include/inn \ --sbindir=/usr/sbin \ --with-libtool \ @@ -78,7 +84,6 @@ build() { --with-news-user=9 \ --with-news-group=13 # See https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database - test -f include/config.h cat >>include/config.h <