openbsd-ports/net/tightvnc/patches/patch-vncviewer_Imakefile

24 lines
765 B
Plaintext

--- vncviewer/Imakefile.orig Thu Jun 27 23:53:19 2002
+++ vncviewer/Imakefile Sat Jan 4 12:53:10 2003
@@ -10,17 +10,10 @@
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)