$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}