--- Makefile.orig	2009-02-12 04:47:20.000000000 +0100
+++ Makefile	2009-02-20 09:13:43.000000000 +0100
@@ -211,7 +211,7 @@
 
 #setup linking
 # -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
@@ -223,10 +223,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
 
 .PHONY: all plugins install install_plugins uninstall uninstall_plugins doc \
         clean clean_plugins deps i18n install_i18n uninstall_i18n \
@@ -245,10 +245,6 @@
 	@for file in `ls $(ICONS)/ |grep -v svn`; do \
 		install -m 644 $(ICONS)/$$file $(ICON_DIR); \
 	done
-	@install -d $(DOC_DIR)
-	@for file in `ls $(DOCS)/ |grep -v svn |grep -v desktop_environment |grep -v api |grep -v $(TARGET).1`; do \
-		install -m 644 $(DOCS)/$$file $(DOC_DIR); \
-	done
 	@install -d $(MAN_DIR)
 	@install -m 644 $(DOCS)/$(TARGET).1 $(MAN_DIR);
 #	@bzip2 -f $(MAN_DIR)/$(TARGET).1;
