# HG changeset patch # User Gerd Moellmann # Date 1000896933 0 # Node ID 0ad6378e66d4f6b4a4b32af98e88e19cef4bc0af # Parent 42696c62a40726b2ab0a8a72d67a77e4587494a9 (LD_SWITCH_SYSTEM, C_SWITCH_SYSTEM): Add /usr/pkg. diff -r 42696c62a407 -r 0ad6378e66d4 src/s/netbsd.h --- a/src/s/netbsd.h Wed Sep 19 09:22:35 2001 +0000 +++ b/src/s/netbsd.h Wed Sep 19 10:55:33 2001 +0000 @@ -77,14 +77,14 @@ says where to find X windows at run time. We convert it to a -rpath option which is what OSF1 uses. */ #define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` -#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp /usr/local/lib +#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib /* The following is needed to make `configure' find Xpm, Xaw3d and image include and library files if using /usr/bin/gcc. That compiler seems to be modified to not find headers in /usr/local/include or libs in /usr/local/lib by default. */ -#define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib +#define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib #endif /* __ELF__ */