summaryrefslogtreecommitdiff
path: root/net/tightvncviewer/patches/patch-aa
blob: 2fd25d7f6c11ba2fc57b48b518ab17d75c2d36a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.2 2001/09/23 00:58:14 mycroft Exp $

--- vncviewer/Imakefile.orig	Mon Jun 18 13:17:15 2001
+++ vncviewer/Imakefile	Sun Sep 23 00:57:07 2001
@@ -6,19 +6,14 @@
 CDEBUGFLAGS = -O2
 #endif
 
-XCOMM Shared memory support works OK on x86 linux, not tested elsewhere but
-XCOMM seems to cause problems on Digital Unix.
-
-#if defined(i386Architecture) && defined(LinuxArchitecture)
 DEFINES = -DMITSHM
-#endif
 
 INCLUDES = -I../include -I. -I/usr/include
 VNCAUTH_LIB = ../libvncauth/libvncauth.a
-ZLIB_LIB = /usr/lib/libz.a
-JPEG_LIB = /usr/lib/libjpeg.a
+ZLIB_LIB = -lz
+JPEG_LIB = ${BUILDLINK_LDFLAGS} -Wl,-rpath ${LOCALBASE}/lib -ljpeg
 
-DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)
+DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB)
 LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)
 
 SRCS = \