3
0
Fork 0
forked from mirrors/nixpkgs

Changed port in test-suite to avoid OpenFire port conflict during build.

svn path=/nixpkgs/trunk/; revision=11066
This commit is contained in:
Michael Raskin 2008-03-11 20:58:29 +00:00
parent eb06f31203
commit ae7274413b

View file

@ -11,8 +11,12 @@ stdenv.mkDerivation rec {
inherit libsigsegv gettext coreutils;
buildInputs = [libsigsegv gettext ncurses readline libX11 libXau
libXt pcre zlib];
# First, replace port 9090 (rather low, can be used)
# with 64237 (much higher, IANA private area, not
# anything rememberable).
patchPhase = ''
sed -e 's@9090@64237@g' -i tests/socket.tst
sed -i 's@/bin/pwd@${coreutils}&@' src/clisp-link.in
find . -type f | xargs sed -e 's/-lICE/-lXau &/' -i
'';