summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Orgis2007-01-14 16:44:17 +0100
committerJaka Kranjc2007-01-14 17:38:28 +0100
commit96b276fea5523367f040a990a21192b0df0916d9 (patch)
tree68b1b5f118893c1dca8e4fe55f06a76b53bf0d8a
parentb5ecb6da24dc77bffd68c28546705d24d7f44bb9 (diff)
add dep on autoconf if PAM is enabled
-rwxr-xr-xutils/coreutils/DEPENDS8
-rw-r--r--utils/coreutils/HISTORY1
2 files changed, 8 insertions, 1 deletions
diff --git a/utils/coreutils/DEPENDS b/utils/coreutils/DEPENDS
index 65ef1745fc..0b77337a0c 100755
--- a/utils/coreutils/DEPENDS
+++ b/utils/coreutils/DEPENDS
@@ -4,4 +4,10 @@ depends smgl-fhs &&
optional_depends linux-pam \
'--enable-pam' \
'' \
- "for pam enabled su command"
+ "for pam enabled su command" &&
+
+# we need to recreate configure after PAM patch with autoreconf
+source "$GRIMOIRE/is_depends_enabled.function" &&
+if is_depends_enabled $SPELL linux-pam; then
+ depends autoconf
+fi
diff --git a/utils/coreutils/HISTORY b/utils/coreutils/HISTORY
index 23624b6af2..9d63abd67e 100644
--- a/utils/coreutils/HISTORY
+++ b/utils/coreutils/HISTORY
@@ -1,4 +1,5 @@
2007-01-14 Thomas Orgis <sobukus@sourcemage.org>
+ * DEPENDS: depend on autoconf if PAM is enabled
* BUILD, PRE_BUILD: fixed the PAM fix, regenerating configure
explicitly so that it also works with automake-1.9 in stable-rc,
not just with 1.10 by automagic