* Also fix Unix tests, not just X11 tests. (Fixes a build error that

occurs if cups exists in /usr/lib.)

svn path=/nixpkgs/trunk/; revision=2068
This commit is contained in:
Eelco Dolstra 2005-01-20 00:32:12 +00:00
parent 44fa4a2980
commit 0159c5f8de

View File

@ -7,7 +7,7 @@ preConfigure() {
# Patch some of the configure files a bit to get of global paths.
# (Buildings using stuff in those paths will fail anyway, but it
# will cause ./configure misdetections).
for i in config.tests/x11/*.test mkspecs/*/qmake.conf; do
for i in config.tests/*/*.test mkspecs/*/qmake.conf; do
echo "patching $i..."
sed < $i > $i.tmp \
-e 's^ /lib^ /FOO^g' \