openbsd-ports/net/tightvnc/patches/patch-vncviewer_Imakefile
pea 1322d58c0a Update to 1.3.9.
ok ajacoutot@
2009-01-19 08:01:34 +00:00

24 lines
812 B
Plaintext

--- vncviewer/Imakefile.orig Wed Mar 12 17:20:34 2003
+++ vncviewer/Imakefile Fri Dec 5 12:37:37 2008
@@ -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)