summaryrefslogtreecommitdiff
path: root/textproc/libxml2/patches/patch-python_setup.py
blob: ccc695db27f4325bdd6051300473d35e05aa6f4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-python_setup.py,v 1.2 2022/03/12 07:33:22 kim Exp $

Trust pkgsrc to know which iconv to use.
It will be either in the buildlink directory, or in the compiler's
default search path.

--- python/setup.py.orig	2022-02-20 12:11:17.000000000 +0000
+++ python/setup.py	2022-03-12 06:40:36.426429987 +0000
@@ -66,11 +66,7 @@
 # - libxml2/libxml/tree.h
 # - libxslt/xsltconfig.h
 includes_dir = [
-"/usr/include",
-"/usr/local/include",
-"/opt/include",
-os.path.join(ROOT,'include'),
-HOME
+os.path.join(ROOT,'include')
 ];
 
 xml_includes=""