1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/os-specific/linux/kudzu/kudzu-python.patch
Armijn Hemel 0ea291d760 add kudzu, needed for hardware detection in NixOS...
svn path=/nixpkgs/trunk/; revision=4418
2005-12-23 15:58:41 +00:00

13 lines
513 B
Diff

diff -ruN kudzu-1.2.16/Makefile kudzu-1.2.16.new/Makefile
--- kudzu-1.2.16/Makefile 2005-10-28 21:57:55.000000000 +0200
+++ kudzu-1.2.16.new/Makefile 2005-12-23 16:30:37.000000000 +0100
@@ -17,7 +17,7 @@
CVSTAG = kudzu-r$(subst .,-,$(VERSION))
-PYTHONVERS = $(shell ls /usr/include/python*/Python.h | sed "s|/usr/include/||g"| sed "s|/Python.h||g")
+PYTHONVERS = $(shell ls $(python)/include/python*/Python.h | sed "s|$(python)/include/||g"| sed "s|/Python.h||g")
CFLAGS += -I. -DVERSION=\"$(VERSION)\"