Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / interpreters / snobol4 / fix-paths.patch
blobd8b424ed3af6e00e088bdabe4de5a9df4aff8ae1
1 --- a/configure
2 +++ b/configure
3 @@ -327,9 +327,9 @@
4 SNOLIB_LOCAL="$SNOLIB/local"
5 SNOLIB_DOC="$SNOLIB"
6 # XXX use $PREFIX/include/snobol4 ???
7 -INCLUDE_DIR="$SNOLIB/include"
8 +INCLUDE_DIR="$PREFIX"/include/snolib4
10 -DOC_DIR="$PREFIX/share/doc/snobol4-$VERSION"
11 +DOC_DIR="$doc/share/doc/snobol4-$VERSION"
13 echo 'BINDIR=$(DESTDIR)'"$BINDIR" >> $CONFIG_M4
14 echo 'MANDIR=$(DESTDIR)'"$MANDIR" >> $CONFIG_M4
15 @@ -2110,7 +2110,7 @@
16 # IRIX /sbin/install
18 # should always find ./install-sh
19 -for DIR in /usr/bin /usr/ucb /usr/local/bin /bin .; do
20 +for DIR in `echo $PATH | tr ':' ' '`; do
21 for INSTALL in install ginstall scoinst install-sh; do
22 IPATH=$DIR/$INSTALL
23 if [ -d $IPATH ]; then