nixpkgs/pkgs/desktops/enlightenment/elementary.patch

19 lines
763 B
Diff
Raw Normal View History

--- a/elementary.pc.in 2015-05-16 21:08:14.321148417 +0200
+++ b/elementary.pc.in 2015-05-16 21:08:30.643412725 +0200
@@ -14,4 +14,4 @@
Requires.private: @requirement_elm_pc@
Version: @VERSION@
Libs: -L${libdir} -lelementary @ELEMENTARY_PC_LIBS@
-Cflags: -I${includedir}/elementary-@VMAJ@
+Cflags: -I${includedir}/elementary-@VMAJ@ @ELEMENTARY_PC_CFLAGS@
--- a/Makefile.am 2015-05-16 21:08:14.322148433 +0200
+++ b/Makefile.am 2015-05-16 21:08:30.643412725 +0200
@@ -84,6 +84,7 @@
-e 's,@requirement_elm_pc\@,$(requirement_elm_pc),g' \
-e 's,@ELEMENTARY_LIBS\@,$(ELEMENTARY_LIBS),g' \
-e 's,@ELEMENTARY_PC_LIBS\@,$(ELEMENTARY_PC_LIBS),g' \
+-e 's,@ELEMENTARY_PC_CFLAGS\@,$(ELEMENTARY_PC_CFLAGS),g' \
< $< > $@ || rm $@
pc_verbose = $(pc_verbose_@AM_V@)