freebsd-ports/x11-fm/emelfm2/files/patch-Makefile
Rong-En Fan dd3e50223d - Update 0.3.1
PR:		ports/105747
Submitted by:	Marcus von Appen <mva at sysfault.org> (maintainer)
2006-11-22 15:42:17 +00:00

42 lines
1.3 KiB
Text

--- Makefile.orig Tue Nov 14 23:36:30 2006
+++ Makefile Wed Nov 22 12:54:18 2006
@@ -57,7 +57,7 @@
endif
ICON_DIR ?= $(PREFIX)/share/pixmaps/$(TARGET)/
LOCALE_DIR ?= $(PREFIX)/share/locale/
-MAN_DIR ?= $(PREFIX)/share/man/man1/
+MAN_DIR ?= $(PREFIX)/man/man1/
OBJECTS_DIR = objs
# object directories that have to be created
@@ -147,17 +147,17 @@
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
ifeq ($(EDITOR_SPELLCHECK),1)
lLIBS += -lgtkspell
endif
-ifeq ($(OPSY),FreeBSD)
- OSREL = $(shell sysctl -n kern.osreldate)
- lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi)
-endif
+#ifeq ($(OPSY),FreeBSD)
+# OSREL = $(shell sysctl -n kern.osreldate)
+# lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi)
+#endif
.PHONY: all plugins install install_plugins uninstall uninstall_plugins doc \
clean deps marshals gettext i18n install_i18n uninstall_i18n \
@@ -182,7 +182,6 @@
done
@install -d $(MAN_DIR)
@install -m 644 docs/$(TARGET).1 $(MAN_DIR);
- @bzip2 -f $(MAN_DIR)$(TARGET).1;
ifeq ($(XGD_INTEGRATION), 1)
@install -d $(XGD_DESKTOP_DIR)