1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/libraries/qt-3/qt-pwd.patch
Armijn Hemel dae499bd6d add a patch which removes a dependency on /bin/pwd so it can be built on
NixOS. It also prevents the following warning:

./configure: line 19: /bin/pwd: No such file or directory
./configure: line 21: /bin/pwd: No such file or directory
The LICENSE, LICENSE.QPL, or LICENSE.GPL file shipped with
this software has disappeared.

Sorry, you are not licensed to use this software.
Try re-installing.

:D

svn path=/nixpkgs/trunk/; revision=4272
2005-11-12 19:07:37 +00:00

16 lines
589 B
Diff

diff -ruN qt-x11-free-3.3.3/configure qt-x11-free-3.3.3.new/configure
--- qt-x11-free-3.3.3/configure 2004-06-14 11:18:55.000000000 +0200
+++ qt-x11-free-3.3.3.new/configure 2005-11-12 19:39:43.000000000 +0100
@@ -16,9 +16,9 @@
relconf=`basename $0`
# the directory of this script is the "source tree"
relpath=`dirname $0`
-relpath=`(cd $relpath; /bin/pwd)`
+relpath=`(cd $relpath; pwd)`
# the current directory is the "build tree" or "object tree"
-outpath=`/bin/pwd`
+outpath=`pwd`
# later cache the command line in config.status
OPT_CMDLINE=`echo $@ | sed "s,-v ,,g; s,-v$,,g"`