From a269702287bf8e97aa9c4200ab0ee1d96d1d6746 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 19 Sep 2001 10:55:52 +0000 Subject: [PATCH] (LD_SWITCH_SYSTEM, C_SWITCH_SYSTEM): Add /usr/pkg. --- src/ChangeLog | 2 ++ src/s/netbsd.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index a3abb506df1..c55917d77be 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2001-09-19 Gerd Moellmann + * s/netbsd.h (LD_SWITCH_SYSTEM, C_SWITCH_SYSTEM): Add /usr/pkg. + * m/macppc.h (DATA_SEG_BITS): Also define for GCC 3. 2001-09-18 Gerd Moellmann diff --git a/src/s/netbsd.h b/src/s/netbsd.h index d65244a0bfa..354ace7e9a0 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h @@ -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__ */ -- 2.39.2