1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
--- Makefile.orig Sat Jul 28 10:40:12 2007
+++ Makefile Sat Jul 28 10:42:14 2007
@@ -56,7 +56,7 @@
#these are only used here for installation purposes
BIN_DIR = $(PREFIX)/bin
-MAN_DIR = $(PREFIX)/share/man/man1
+MAN_DIR = $(PREFIX)/man/man1
#as well as usage here, all in-code uses of these is assumed localised
ifeq ($(DOCS_VERSION), 1)
DOC_DIR = $(PREFIX)/share/doc/$(TARGET)-$(VERSION)
@@ -203,7 +203,7 @@
lLDFLAGS = $(LDFLAGS)
# -lrt needed for clock_gettime()
-lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0) -lrt
+lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0)
ifeq ($(USE_FAM),1)
lLIBS += -lfam
endif
@@ -221,10 +221,10 @@
endif
# should not need translation
OPSYS := $(shell uname)
-ifeq ($(OPSYS),FreeBSD)
-OSREL = $(shell sysctl -n kern.osreldate)
-lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi)
-endif
+#ifeq ($(OPSYS),FreeBSD)
+#OSREL = $(shell sysctl -n kern.osreldate)
+#lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi)
+#endif
#for gvfs development
ifeq ($(WITH_GVFS),1)
@@ -254,7 +254,6 @@
done
@install -d $(MAN_DIR)
@install -m 644 docs/$(TARGET).1 $(MAN_DIR);
- @bzip2 -f $(MAN_DIR)/$(TARGET).1;
ifeq ($(XDG_INTEGRATION), 1)
@install -d $(XDG_DESKTOP_DIR)
|