diff options
author | xantares | 2015-08-02 21:38:11 +0200 |
---|---|---|
committer | xantares | 2015-08-02 21:38:11 +0200 |
commit | 43fdfd7d6e9a2199f96d3a9e5b5f9f3f48630921 (patch) | |
tree | 628ff26345bcfc101c3d26f1dbcd102bf93ec5c5 | |
parent | 366285eeb3dda753a0b2db8566a528f33f88b58a (diff) | |
download | aur-43fdfd7d6e9a2199f96d3a9e5b5f9f3f48630921.tar.gz |
workaround out-of-source build
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -18,7 +18,6 @@ prepare() { cd ${srcdir}/libgeotiff-$pkgver patch -p1 -i ../libgeotiff_buildsys.patch sed -i "s|la_LDFLAGS = -version-info|la_LDFLAGS = -no-undefined -version-info|g" Makefile.in -# autoreconf -if } build() { @@ -26,6 +25,12 @@ build() { for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} ${_arch}-configure --with-proj --with-jpeg --with-zip + + # FIXME: out-of-source build fails + cp ../*.h libxtiff + cp ../libxtiff/*.h libxtiff + cp ../*.inc bin + # ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release \ # -DGEOTIFF_CSV_DATA_DIR=$PWD/../csv \ # -DGEOTIFF_DATA_SUBDIR=share \ |