summaryrefslogtreecommitdiffstats
path: root/audio-drivers
diff options
context:
space:
mode:
authorPavel Vinogradov2022-05-30 19:08:45 -0400
committerPavel Vinogradov2022-05-30 19:08:45 -0400
commitd173cdc8307c52d48e273a733edc70604aad51e1 (patch)
tree8b6ba6486e677fed9dbe21cc3f6791d4938747c4 /audio-drivers
parentb376a5fb93444f88e5d4b7b38a4e01f3d9843a80 (diff)
audio-drivers/alsa-utils: fixed scm bootstrapping
Diffstat (limited to 'audio-drivers')
-rw-r--r--audio-drivers/alsa-utils/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-utils/PRE_BUILD12
2 files changed, 13 insertions, 2 deletions
diff --git a/audio-drivers/alsa-utils/HISTORY b/audio-drivers/alsa-utils/HISTORY
index 0d83e3afc1..ca0430a7d3 100644
--- a/audio-drivers/alsa-utils/HISTORY
+++ b/audio-drivers/alsa-utils/HISTORY
@@ -1,3 +1,6 @@
+2022-05-30 Pavel Vinogradov <public@sourcemage.org>
+ * PRE_BUILD: fixed scm bootstrapping
+
2021-12-26 Florian Franzmann <bwlf@bandrate.org>
* DETAILS: version 1.2.6
diff --git a/audio-drivers/alsa-utils/PRE_BUILD b/audio-drivers/alsa-utils/PRE_BUILD
index 13b65aecc6..5162c16af7 100755
--- a/audio-drivers/alsa-utils/PRE_BUILD
+++ b/audio-drivers/alsa-utils/PRE_BUILD
@@ -1,14 +1,22 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
if [[ $ALSA_UTILS_BRANCH == scm ]]; then
- aclocal -I m4 &&
+ if test -d ../alsa-lib/utils && ! test -r `aclocal --print-ac-dir`/alsa.m4; then
+ alsa_m4_flags="-I ../alsa-lib/utils"
+ fi &&
+ aclocal $alsa_m4_flags $ACLOCAL_FLAGS &&
+ # save original files to avoid stupid modifications by gettextize
cp Makefile.am Makefile.am.ok &&
cp configure.ac configure.ac.ok &&
- gettextize -f --no-changelog &&
+ gettextize -c -f --no-changelog &&
echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am &&
cp Makefile.am.ok Makefile.am &&
cp configure.ac.ok configure.ac &&
+ touch ltconfig &&
+ libtoolize --force --copy --automake &&
+ aclocal $ACLOCAL_FLAGS &&
autoheader &&
automake --foreign --copy --add-missing &&
+ touch depcomp &&
autoconf
fi