freebsd-ports/sysutils/gnome-pkgview/files/patch-src_config-path.c
Joe Marcus Clarke 4e3c45e690 Add pkgview, a utility to determine the version of installed GNOME 2
components as well as determine the overall version of GNOME 2 installed.
2002-11-14 07:34:09 +00:00

13 lines
475 B
C

--- 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 ) {