$NetBSD: patch-af,v 1.4 2000/09/01 13:43:38 hubertf Exp $ --- Local.config.orig Sat Jun 27 19:43:56 1998 +++ Local.config Fri Sep 1 11:32:05 2000 @@ -39,6 +39,9 @@ #ifdef NetBSDArchitecture ARCH_DEFINES = -DHAVE_PARAM_H +#ifdef arm32Architecture +CDEBUGFLAGS = +#endif #endif #ifdef OS2Architecture @@ -101,11 +104,11 @@ XCOMM You must have the XPM library. XCOMM Make sure the path name to the library is correct. -XPM_LIB = -L/usr/X11R6/lib -lXpm +XPM_LIB = -L${XPMDIR}/lib -Wl,-R${XPMDIR}/lib -lXpm XCOMM Make sure this points to the location of the 'xpm.h' file. -XPM_INCLUDE = -I/usr/X11R6/include/X11 +XPM_INCLUDE = -I${XPMDIR}/include/X11 DEPENDFLAGS = -I./bitmaps @@ -133,11 +136,13 @@ #if defined(NetBSDArchitecture) || defined(BSD386Architecture) ARCH_DEFINES = -DHAVE_PARAM_H -TIFF_INCLUDE = -I/usr/local/include -TIFF_LIB = -L/usr/local/lib -ltiff -JPEG_INCLUDE = -I/usr/local/include -JPEG_LIB = -L/usr/local/lib -ljpeg -XPM_INCLUDE = -I/usr/X11R6/include/X11 +TIFF_INCLUDE = -I${LOCALBASE}/include +TIFF_LIB = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -ltiff +JPEG_INCLUDE = -I${LOCALBASE}/include +JPEG_LIB = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -ljpeg +PNG_INCLUDE = -I${LOCALBASE}/include/png +PNG_LIB = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lpng -lz +XPM_INCLUDE = -I${XPMDIR}/include/X11 #endif #if defined(FreeBSDArchitecture)