summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-07-10 22:25:44 +0200
committerPeter Simons <simons@cryp.to>2012-07-10 22:26:27 +0200
commit719852784a76d86fe177bea3377066eee8c649ac (patch)
treef66795fc634e6e6552e8e80a766d4463a48e1ad7 /pkgs/development
parent662f7d02abfe4f572d6412bcf4df7e27fdb98d21 (diff)
downloadnixpkgs-719852784a76d86fe177bea3377066eee8c649ac.tar
nixpkgs-719852784a76d86fe177bea3377066eee8c649ac.tar.gz
nixpkgs-719852784a76d86fe177bea3377066eee8c649ac.tar.bz2
nixpkgs-719852784a76d86fe177bea3377066eee8c649ac.tar.lz
nixpkgs-719852784a76d86fe177bea3377066eee8c649ac.tar.xz
nixpkgs-719852784a76d86fe177bea3377066eee8c649ac.tar.zst
nixpkgs-719852784a76d86fe177bea3377066eee8c649ac.zip
automake-1.11.x: create symlinks for un-versioned directory names
The latest Automake version installs the 'aclocal' and 'automake' directories
with a '-1.11' version suffix. Our setup hook is not prepared to handle that,
so we add those symlinks as a quick fix. A better solution would be to extend
the setup hook for Automake to recognize those kind of version suffixes.
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/misc/automake/builder.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/automake/builder.sh b/pkgs/development/tools/misc/automake/builder.sh
index 7f9e9219de3..e54a2acca67 100644
--- a/pkgs/development/tools/misc/automake/builder.sh
+++ b/pkgs/development/tools/misc/automake/builder.sh
@@ -36,10 +36,12 @@ postInstall() {
     # global directory, while callers of `aclocal' do not need to pass
     # `-I' options explicitly.
 
-    for prog in $out/bin/aclocal*; do 
+    for prog in $out/bin/aclocal*; do
         wrapAclocal "$prog"
     done
-}
 
+    ln -s aclocal-1.11 $out/share/aclocal
+    ln -s automake-1.11 $out/share/automake
+}
 
 genericBuild