libcap.patch.j2 929 B

1234567891011121314151617181920
  1. --- ../alfred_/Makefile 2015-05-01 23:47:25.179644579 +0000
  2. +++ Makefile 2015-05-02 00:11:56.251644579 +0000
  3. @@ -83,11 +83,12 @@
  4. ifeq ($(origin LIBCAP_CFLAGS) $(origin LIBCAP_LDLIBS), undefined undefined)
  5. LIBCAP_NAME ?= libcap
  6. - ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBCAP_NAME) 2>/dev/null),)
  7. - $(error No $(LIBCAP_NAME) development libraries found!)
  8. - endif
  9. - LIBCAP_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBCAP_NAME))
  10. - LIBCAP_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBCAP_NAME))
  11. +# ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBCAP_NAME) 2>/dev/null),)
  12. +# $(error No $(LIBCAP_NAME) development libraries found!)
  13. +# endif
  14. +# LIBCAP_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBCAP_NAME))
  15. +# LIBCAP_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBCAP_NAME))
  16. + LIBCAP_LDLIBS += -lcap
  17. endif
  18. CFLAGS += $(LIBCAP_CFLAGS)
  19. CPPFLAGS += -DCONFIG_ALFRED_CAPABILITIES