Changed to use aclocal --print-ac-dir to locate the aclocal dir.

This commit is contained in:
Scott McCreary
2011-03-23 23:05:03 +00:00
parent 22a77ad1a2
commit 831c39f907
2 changed files with 12 additions and 11 deletions

View File

@@ -8,17 +8,17 @@ DEPEND="dev-util/pkgconfig >= 0.23
media-libs/libogg >= 1.2.0"
BUILD {
cd libvorbis-1.3.2
libtoolize --force --copy --install
libtoolize --fci
mkdir -p m4
cp /boot/common/share/aclocal/libtool.m4 m4
cp /boot/common/share/aclocal/ltoptions.m4 m4
cp /boot/common/share/aclocal/ltversion.m4 m4
cp /boot/common/share/aclocal/ltsugar.m4 m4
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
cp `aclocal --print-ac-dir`/libtool.m4 m4
cp `aclocal --print-ac-dir`/ltoptions.m4 m4
cp `aclocal --print-ac-dir`/ltversion.m4 m4
cp `aclocal --print-ac-dir`/ltsugar.m4 m4
cp `aclocal --print-ac-dir`/lt~obsolete.m4 m4
aclocal -I m4
autoconf
automake
./configure --prefix=/boot/common
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}