diff options
Diffstat (limited to 'sysutils/nut/files/patch-include-Makefile.in')
-rw-r--r-- | sysutils/nut/files/patch-include-Makefile.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/nut/files/patch-include-Makefile.in b/sysutils/nut/files/patch-include-Makefile.in new file mode 100644 index 000000000000..ad0ffe555c98 --- /dev/null +++ b/sysutils/nut/files/patch-include-Makefile.in @@ -0,0 +1,11 @@ +--- include/Makefile.in.orig 2007-08-28 15:39:22.000000000 +0200 ++++ include/Makefile.in 2007-08-28 15:36:52.000000000 +0200 +@@ -229,7 +229,7 @@ + BUILT_SOURCES = nut_version.h + CLEANFILES = nut_version.h + SVNREV = $(shell svnversion -n $(top_srcdir) 2>/dev/null) +-NUT_VERSION = $(shell if test "$(SVNREV)" = "exported"; then echo "$(PACKAGE_VERSION)"; else echo "$(PACKAGE_VERSION)-$(SVNREV)"; fi) ++NUT_VERSION = $(shell if test "$(SVNREV)" = "exported" -o -z "${SVNREV}"; then echo "$(PACKAGE_VERSION)"; else echo "$(PACKAGE_VERSION)-$(SVNREV)"; fi) + all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-am + |