diff options
Diffstat (limited to 'dev-util/confix/files/2.3.0/exeext.patch')
-rw-r--r-- | dev-util/confix/files/2.3.0/exeext.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/confix/files/2.3.0/exeext.patch b/dev-util/confix/files/2.3.0/exeext.patch new file mode 100644 index 000000000000..98576f5c9f8b --- /dev/null +++ b/dev-util/confix/files/2.3.0/exeext.patch @@ -0,0 +1,20 @@ +diff -ru confix-9999.orig/libconfix/plugins/automake/makefile_am.py confix-9999/libconfix/plugins/automake/makefile_am.py +--- confix-9999.orig/libconfix/plugins/automake/makefile_am.py 2009-10-30 13:20:42.106291175 +0100 ++++ confix-9999/libconfix/plugins/automake/makefile_am.py 2009-10-30 13:23:39.562354663 +0100 +@@ -472,7 +472,15 @@ + + # register automatic tests and set their environment + +- tests = self.dir_primary('check', 'PROGRAMS') + \ ++ test_tmp = self.dir_primary('check', 'PROGRAMS') ++ count = 0 ++ for prog in test_tmp: ++ prog += "$(EXEEXT)" ++ test_tmp[count] = prog ++ count += 1 ++ pass ++ ++ tests = test_tmp + \ + self.dir_primary('check', 'SCRIPTS') + if len(tests): + lines.extend(makefile.List(name='TESTS', values=tests, mitigate=True).lines()) |