Files
nixpkgs/pkgs/by-name/sn/snobol4/fix-paths.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

24 lines
693 B
Diff

--- a/configure
+++ b/configure
@@ -327,9 +327,9 @@
SNOLIB_LOCAL="$SNOLIB/local"
SNOLIB_DOC="$SNOLIB"
# XXX use $PREFIX/include/snobol4 ???
-INCLUDE_DIR="$SNOLIB/include"
+INCLUDE_DIR="$PREFIX"/include/snolib4
-DOC_DIR="$PREFIX/share/doc/snobol4-$VERSION"
+DOC_DIR="$doc/share/doc/snobol4-$VERSION"
echo 'BINDIR=$(DESTDIR)'"$BINDIR" >> $CONFIG_M4
echo 'MANDIR=$(DESTDIR)'"$MANDIR" >> $CONFIG_M4
@@ -2110,7 +2110,7 @@
# IRIX /sbin/install
# should always find ./install-sh
-for DIR in /usr/bin /usr/ucb /usr/local/bin /bin .; do
+for DIR in `echo $PATH | tr ':' ' '`; do
for INSTALL in install ginstall scoinst install-sh; do
IPATH=$DIR/$INSTALL
if [ -d $IPATH ]; then