aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut22/files
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-02-19 12:23:39 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-02-19 12:23:39 +0000
commitf366e089522a2b15ae67451c0169b8fff850853f (patch)
tree52c68f9eac74aad3bd2d169889e83b22bcd02044 /sysutils/nut22/files
parent2259fcb443dd884c34720f6775d5a5b95babce16 (diff)
downloadports-f366e089522a2b15ae67451c0169b8fff850853f.tar.gz
ports-f366e089522a2b15ae67451c0169b8fff850853f.zip
Notes
Diffstat (limited to 'sysutils/nut22/files')
-rw-r--r--sysutils/nut22/files/patch-include-Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/nut22/files/patch-include-Makefile.in b/sysutils/nut22/files/patch-include-Makefile.in
index ad0ffe555c98..de795aaf72e0 100644
--- a/sysutils/nut22/files/patch-include-Makefile.in
+++ b/sysutils/nut22/files/patch-include-Makefile.in
@@ -1,9 +1,9 @@
---- include/Makefile.in.orig 2007-08-28 15:39:22.000000000 +0200
-+++ include/Makefile.in 2007-08-28 15:36:52.000000000 +0200
+--- include/Makefile.in.orig Fri Dec 21 15:00:52 2007
++++ include/Makefile.in Thu Jan 17 20:23:32 2008
@@ -229,7 +229,7 @@
- BUILT_SOURCES = nut_version.h
- CLEANFILES = nut_version.h
- SVNREV = $(shell svnversion -n $(top_srcdir) 2>/dev/null)
+ BUILT_SOURCES = nut_version.h nut_stdint.h
+ CLEANFILES = nut_version.h nut_stdint.h
+ SVNREV = $(shell unset LANG && 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