freebsd-ports/x11-fm/emelfm2/files/patch-Makefile
Dmitry Marakasov e2f84577d3 - Pet portlint
- Fix LICENSE
- Add LICENSE_FILE
- Don't install useless docs
- Regenerate patches
2017-04-10 11:35:44 +00:00

29 lines
1.1 KiB
Text

--- Makefile.orig 2014-01-24 21:07:36 UTC
+++ Makefile
@@ -292,7 +292,7 @@ else
lLIBS += $(shell pkg-config --libs gmodule-2.0)
endif
# -lrt needed for clock_gettime(), explicit -lm, -ldl needed for some arch-linux distros
-lLIBS += -lrt -lm -ldl
+lLIBS += -lrt -lm
ifeq ($(USE_GAMIN), 1)
#gamin code is a superset of FAM code, so gamin needs fam as well
lLIBS += -lfam
@@ -347,16 +347,12 @@ else
install -m 644 $$file $(ICON_DIR)/stock; \
done
endif
- @install -d $(DOC_DIR)
- @for file in `ls $(DOCS)/ |grep -v svn |grep -v desktop_environment |grep -v api |grep -v emelfm2.1`; do \
- install -m 644 $(DOCS)/$$file $(DOC_DIR); \
- done
@install -d $(MAN_DIR)
@install -m 644 $(DOCS)/emelfm2.1 $(MAN_DIR)/$(TARGET).1;
@if [ "`grep "#define E2_XDG" $(BUILD_FILE)`" = "#define E2_XDG" ]; then \
install -d $(XDG_DESKTOP_DIR); \
- install -m 644 -T $(DOCS)/desktop_environment/$(TARGET).desktop $(XDG_DESKTOP_DIR)/$(TARGET).desktop; \
+ install -m 644 $(DOCS)/desktop_environment/$(TARGET).desktop $(XDG_DESKTOP_DIR)/$(TARGET).desktop; \
fi
# no i18n install unless specific target used