Files
nixpkgs/pkgs/by-name/lc/lc3tools/0001-mangle-configure.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

30 lines
859 B
Diff

diff --git a/configure b/configure
index 46f9af4..dfc1b3e 100755
--- a/configure
+++ b/configure
@@ -17,10 +17,11 @@ esac
# Some binaries that we'll need, and the places that we might find them.
-binlist="uname flex gcc wish rm cp mkdir chmod sed"
-pathlist="/bin /usr/bin /usr/local/bin /sw/bin /usr/x116/bin /usr/X11R6/bin"
-libpathlist="/lib /usr/lib /usr/local/lib"
-incpathlist="/include /usr/include /usr/local/include"
+IFS=:
+binlist="uname:flex:gcc:wish:rm:cp:mkdir:chmod:sed"
+pathlist=$PATH
+libpathlist=$LIBS
+incpathlist=$INCLUDES
# Find the binaries (or die trying).
@@ -55,7 +56,7 @@ case `$uname -s` in
echo "Configuring for Cygwin..."
;;
Linux*) echo "Configuring for Linux..."
- OS_SIM_LIBS="-lcurses"
+ # OS_SIM_LIBS="-lcurses"
;;
SunOS*) echo "Configuring for Solaris..."
OS_SIM_LIBS="-lcurses -lsocket -lnsl"