summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-httpdirfs/files/patch-Makefile
blob: 9304cbac3dc6f39a636851ccc9576baf023b7d4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Makefile.orig	2021-08-31 18:54:03 UTC
+++ Makefile
@@ -1,6 +1,6 @@
 VERSION = 1.2.3
 
-CFLAGS += -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\
+CFLAGS += -Wall -Wextra -Wshadow -D_GNU_SOURCE\
 	-D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\"\
 	`pkg-config --cflags-only-I gumbo libcurl fuse uuid expat`
 LDFLAGS += `pkg-config --libs-only-L gumbo libcurl fuse uuid expat`
@@ -44,7 +44,7 @@ ifeq ($(OS),FreeBSD)
 		$(DESTDIR)$(prefix)/bin/httpdirfs
 	gzip -f -k doc/man/httpdirfs.1
 	install -m 644 doc/man/httpdirfs.1.gz \
-		$(DESTDIR)$(prefix)/man/man1/httpdirfs.1.gz
+		$(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1.gz
 endif
 ifeq ($(OS),Darwin)
 	install -d $(DESTDIR)$(prefix)/bin