libunique: fixed build for automake >= 1.13 (Thanks to Danny)
This commit is contained in:
parent
5a3495e4fc
commit
564d496bc3
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
name=libunique
|
name=libunique
|
||||||
version=1.1.6
|
version=1.1.6
|
||||||
release=2
|
release=3
|
||||||
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
|
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
|
||||||
$name.patch)
|
$name.patch)
|
||||||
|
|
||||||
|
@ -14,6 +14,12 @@ build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
patch -p1 -i $SRC/$name.patch
|
patch -p1 -i $SRC/$name.patch
|
||||||
|
|
||||||
|
# fix for automake >= 1.13
|
||||||
|
sed -i configure.ac \
|
||||||
|
-e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
||||||
|
-e 's/AM_PROG_CC_STDC/AC_PROG_CC/'
|
||||||
|
|
||||||
autoreconf
|
autoreconf
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user