freebsd-ports/sysutils/superiotool/files/patch-Makefile
Johannes Totz f8c5e96633 sysutils/superiotool: update 20121019 -> 4.18
PR:		264018
Author:    	Johannes Totz <jo@bruelltuete.com>
Changes:	https://coreboot.org/releases/coreboot-4.18-relnotes.txt
		and many more
Reviewed by:	avg
Approved by:	avg
Differential Revision:	https://reviews.freebsd.org/D34094
2023-01-10 20:06:02 +01:00

22 lines
866 B
Text

--- Makefile.orig 2022-10-16 20:14:31 UTC
+++ Makefile
@@ -8,7 +8,7 @@ PREFIX ?= /usr/local
# Set the superiotool version string to the output of 'git describe'.
-VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
+#VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration -ansi -pedantic $(VERSION)
@@ -56,8 +56,8 @@ install: $(PROGRAM)
install: $(PROGRAM)
mkdir -p $(DESTDIR)$(PREFIX)/sbin
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
- $(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
+ mkdir -p $(DESTDIR)$(PREFIX)/man/man8
+ $(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/man/man8
clean:
rm -f $(PROGRAM) *.o junit.xml