summaryrefslogtreecommitdiff
path: root/net/tightvncviewer/patches/patch-aa
blob: dea6488d3d6a3391b8cd4e3be033b7183e583c6f (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
28
$NetBSD: patch-aa,v 1.3 2002/10/09 21:14:41 jlam Exp $

--- vncviewer/Imakefile.orig	Tue Nov 13 03:31:34 2001
+++ vncviewer/Imakefile
@@ -6,19 +6,14 @@ CCOPTIONS =
 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
+INCLUDES = -I../include -I. ${BUILDLINK_CPPFLAGS}
 VNCAUTH_LIB = ../libvncauth/libvncauth.a
-ZLIB_LIB = /usr/lib/libz.a
-JPEG_LIB = /usr/lib/libjpeg.a
+ZLIB_LIB = -lz
+JPEG_LIB = ${BUILDLINK_LDFLAGS} -ljpeg
 
-DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)
+DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB)
 LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)
 
 SRCS = \