$OpenBSD: patch-src_vnc_unixsrc_vncviewer_Imakefile,v 1.1.1.1 2008/05/21 22:04:27 sthen Exp $ --- src/vnc_unixsrc/vncviewer/Imakefile.orig Wed Mar 12 16:20:28 2003 +++ src/vnc_unixsrc/vncviewer/Imakefile Fri Nov 9 19:40:20 2007 @@ -10,17 +10,10 @@ XCOMM seems to cause problems on Digital Unix. DEFINES = -DMITSHM #endif -ZLIB_INC = -I/usr/local/include -JPEG_INC = -I/usr/local/include -INCLUDES = -I../include -I. $(ZLIB_INC) $(JPEG_INC) -I/usr/include +INCLUDES = -I../include -I. -I/usr/include -I${LOCALBASE}/include VNCAUTH_LIB = ../libvncauth/libvncauth.a -ZLIB_LIB = -L/usr/local/lib -lz -#ifdef OSF1Architecture -XCOMM Avoid linking with different libjpeg in /usr/shlib under Tru64. -JPEG_LIB = /usr/local/lib/libjpeg.a -#else -JPEG_LIB = -L/usr/local/lib -ljpeg -#endif +ZLIB_LIB = -lz +JPEG_LIB = -ljpeg DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB) LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)