summaryrefslogtreecommitdiff
path: root/net/tightvnc/patches/patch-ad
blob: ecdb171dc3d4fed6c51c4e2841468584610d3305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.4 2004/05/11 04:22:49 snj Exp $

--- Xvnc/config/cf/vnclibs.def.orig	2002-06-28 06:53:19.000000000 +0100
+++ Xvnc/config/cf/vnclibs.def
@@ -11,7 +11,7 @@ VNCLIBS = $(TOP)/../libvncauth/libvncaut
 /* Avoid linking with different libjpeg in /usr/shlib under Tru64. */
 VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a
 #else
-VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz
+VNCSYSLIBS = ${LDFLAGS} -ljpeg -lz
 #endif
 
-VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include
+VNCCPPFLAGS = -I$(TOP)/../include ${CPPFLAGS}