summaryrefslogtreecommitdiff
path: root/lang/gawk/patches/patch-test_Makefile.in
blob: db11cb3a204476a247211ef0106dab14449a17be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-test_Makefile.in,v 1.2 2014/06/06 23:24:10 ryoon Exp $

Non portable '-f' flag for ls should be -U for unsorted
pkgsrc replacement links mean -L should be used too.

NB on SunOS, locale/en should be installed in order to have
all tests successfully execute (namely mbfw1 and mbprintf1)

--- test/Makefile.in.orig	2014-04-08 16:13:13.000000000 +0000
+++ test/Makefile.in
@@ -2249,7 +2249,7 @@ readdir:
 	fi
 	@echo $@
 	@$(AWK) -f "$(srcdir)"/readdir.awk "$(top_srcdir)" > _$@
-	@ls -afi "$(top_srcdir)" > _dirlist
+	@ls -aiUL "$(top_srcdir)" > _dirlist
 	@ls -lna "$(top_srcdir)" | sed 1d > _longlist
 	@$(AWK) -f "$(srcdir)"/readdir0.awk -v extout=_$@  \
 		-v dirlist=_dirlist -v longlist=_longlist > $@.ok