summaryrefslogtreecommitdiffstats
path: root/package/ntfsprogs/ntfsprogs-2.0.0-no-pkgconfig-path-override.patch
blob: bf7824d700092990ce2b8c7e609ef75666d4876d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[PATCH] ntfsprogs: don't override PKG_CONFIG_PATH

Adding hardcoded directories to the pkg-config search path breaks
cross compilation (E.G. if the host has a .pc for a package the
target doesn't have).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 configure    |    4 ----
 configure.ac |    4 ----
 2 files changed, 8 deletions(-)

Index: ntfsprogs-2.0.0/configure.ac
===================================================================
--- ntfsprogs-2.0.0.orig/configure.ac
+++ ntfsprogs-2.0.0/configure.ac
@@ -168,10 +168,6 @@ AC_PROG_MAKE_SET
 AC_PROG_LIBTOOL
 PKG_PROG_PKG_CONFIG
 
-# Libraries often install their metadata .pc files in directories not searched
-# by pkg-config. Let's workaround this. 
-export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:$prefix/lib/pkgconfig:/opt/gnome/share/pkgconfig:/usr/local/share/pkgconfig
-
 # Enable large file support.
 AC_SYS_LARGEFILE
 
Index: ntfsprogs-2.0.0/configure
===================================================================
--- ntfsprogs-2.0.0.orig/configure
+++ ntfsprogs-2.0.0/configure
@@ -20210,10 +20210,6 @@ echo "${ECHO_T}no" >&6; }
 
 fi
 
-# Libraries often install their metadata .pc files in directories not searched
-# by pkg-config. Let's workaround this.
-export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:$prefix/lib/pkgconfig:/opt/gnome/share/pkgconfig:/usr/local/share/pkgconfig
-
 # Enable large file support.
 # Check whether --enable-largefile was given.
 if test "${enable_largefile+set}" = set; then