opnsense-ports/sysutils/superiotool/files/patch-Makefile
Franco Fichtner fb17078f21 */*: sync with upstream
Taken from: FreeBSD
2023-01-10 19:10:29 +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