From 043ac4d1b0596874a3ea8d34a98fe28667e314b5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 20 Jan 2005 11:39:12 +0000 Subject: [PATCH] * Fix dangling symlink bin/qmake. svn path=/nixpkgs/trunk/; revision=2070 --- pkgs/development/libraries/qt-3/builder.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-3/builder.sh b/pkgs/development/libraries/qt-3/builder.sh index 5566fb40ba3..cf481bf988c 100644 --- a/pkgs/development/libraries/qt-3/builder.sh +++ b/pkgs/development/libraries/qt-3/builder.sh @@ -41,4 +41,14 @@ configureScript() { } -genericBuild \ No newline at end of file +postInstall=postInstall +postInstall() { + # Qt's `make install' is broken; it copies ./bin/qmake, which + # is a symlink to ./qmake/qmake. So we end up with a dangling + # symlink. + rm $out/bin/qmake + cp -p qmake/qmake $out/bin +} + + +genericBuild