aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pkgview/files/patch-src_config-path.c
blob: 2eed9821d2bba4cd7eb715615b99734f6f27a95f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/config-path.c.orig  Thu Nov 14 02:23:41 2002
+++ src/config-path.c   Thu Nov 14 02:29:54 2002
@@ -14,9 +14,7 @@
    pkgs_found = 0;
       
            /* parse the PKG_CONFIG_PATH env var, and add a terminator */
-   if ( getenv ("PKG_CONFIG_PATH") ) {
-       path = g_strconcat(getenv("PKG_CONFIG_PATH"),":DIRS_DONE",NULL);
-   }
+   path = "%%LOCALBASE%%/libdata/pkgconfig:%%X11BASE%%/libdata/pkgconfig:DIRS_DONE";
 
    /* walk the PKG_CONFIG_PATH for other files */
    if ( path ) {