000_pkg_config.diff 657 B

12345678910111213141516171819202122
  1. diff -ru langdrill-0.3-orig/src/Makefile langdrill-0.3/src/Makefile
  2. --- langdrill-0.3-orig/src/Makefile 2006-03-14 23:46:31.000000000 -0800
  3. +++ langdrill-0.3/src/Makefile 2006-03-14 23:48:17.000000000 -0800
  4. @@ -16,7 +16,7 @@
  5. DEF_FLAGS = -DTARGET='"$(TARGET)"' \
  6. -DDRILL_DEF='"$(DRILL_DEF)"' \
  7. -DDRILL_DIR='"$(DRILL_DIR)"' \
  8. - -I /usr/include/gtk-2.0/
  9. + `pkg-config --cflags gtk+-2.0`
  10. ###### Test for Debian GNU/Linux
  11. # If your system is not Debian GNU/Linux please modify the values after
  12. @@ -37,7 +37,7 @@
  13. endif
  14. CC = g++
  15. -LFLAGS = `vdk-config-2 --libs`
  16. +LFLAGS = `vdk-config-2 --libs` `pkg-config --libs gtk+-2.0`
  17. ####### Implicit rules