aboutsummaryrefslogtreecommitdiff
path: root/lang/sml-nj-devel/files/do-patch-src-genposixnames
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sml-nj-devel/files/do-patch-src-genposixnames')
-rw-r--r--lang/sml-nj-devel/files/do-patch-src-genposixnames33
1 files changed, 0 insertions, 33 deletions
diff --git a/lang/sml-nj-devel/files/do-patch-src-genposixnames b/lang/sml-nj-devel/files/do-patch-src-genposixnames
deleted file mode 100644
index b59f441d0803..000000000000
--- a/lang/sml-nj-devel/files/do-patch-src-genposixnames
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/runtime/config/gen-posix-names.sh.orig Mon Nov 27 14:24:39 2000
-+++ src/runtime/config/gen-posix-names.sh Tue Mar 11 23:09:11 2003
-@@ -39,17 +39,20 @@
- echo "#include <unistd.h>" > $SRCFILE
- $CPP $SRCFILE > $INCLFILE
- rm -f $SRCFILE
--elif [ -r "/usr/include/sys/unistd.h" ]; then
-- INCLFILE=/usr/include/sys/unistd.h
--elif [ -r "/usr/include/confname.h" ]; then
-- INCLFILE=/usr/include/confname.h
--elif [ -r "/usr/include/unistd.h" ]; then
-- INCLFILE=/usr/include/unistd.h
--elif [ -r "/usr/include/bsd/unistd.h" ]; then
-- INCLFILE=/usr/include/bsd/unistd.h
- else
-- echo "gen-posix-names.sh: unable to find <unistd.h>"
-- exit 1
-+ INCLFILE=""
-+ for f in "/usr/include/sys/unistd.h" \
-+ "/usr/include/confname.h" \
-+ "/usr/include/unistd.h" \
-+ "/usr/include/bsd/unistd.h"; do
-+ if [ -r "$f" ]; then
-+ INCLFILE="$INCLFILE $f"
-+ fi
-+ done
-+ if [ -z "$INCLFILE" ]; then
-+ echo "gen-posix-names.sh: unable to find <unistd.h>"
-+ exit 1
-+ fi
- fi
-
- echo "/* $OUTF" >> $OUTF