opnsense-ports/sysutils/gnome-pkgview/files/patch-src_config-path.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
445 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:DIRS_DONE";
/* walk the PKG_CONFIG_PATH for other files */
if ( path ) {