testing/hylafax: fix compilation when CC=ccache. fix depends

This commit is contained in:
Natanael Copa 2009-06-18 06:44:53 +00:00
parent 1ceb14def2
commit b1efc5d9c2

View File

@ -7,7 +7,7 @@ pkgdesc="Sends and receives faxes"
url="http://www.hylafax.org/"
license="custom"
#depends on gcc for libgcc_s.so, it's scripts are hardcoded to bash
depends="uclibc uclibc++ zlib tiff ghostscript bash gcc"
depends="ghostscript bash"
makedepends="zlib-dev tiff-dev uclibc++-dev"
install="hylafax.post-install"
subpackages="$pkgname-doc"
@ -22,7 +22,8 @@ build() {
sed -i -e 's:"iostream.h":<iostream>\n using namespace std;:g' \
configure
# the configure script does not handle ccache or distcc
export CC=gcc
./configure --nointeractive --disable-pam \
--with-CXX=/usr/bin/g++-uc \
--with-DIR_BIN=/usr/bin \