summaryrefslogtreecommitdiff
path: root/net/tightvnc/patches/patch-ad
blob: 45daa9aaed681bf4b7228f2d30682b4f46ae41e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.5 2007/06/17 20:58:49 tnn Exp $

--- Xvnc/config/cf/vnclibs.def.orig	2003-05-03 11:31:55.000000000 +0200
+++ 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 -lcrypt
 #else
-VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz -lcrypt
+VNCSYSLIBS = ${LDFLAGS} -ljpeg -lz -lcrypt
 #endif
 
-VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include
+VNCCPPFLAGS = -I$(TOP)/../include ${CPPFLAGS}