openbsd-ports/net/tightvnc/patches/patch-Xvnc_config_cf_vnclibs_def

19 lines
653 B
Plaintext

--- Xvnc/config/cf/vnclibs.def.orig Thu Jun 27 23:53:19 2002
+++ Xvnc/config/cf/vnclibs.def Sat Jan 4 13:13:24 2003
@@ -5,13 +5,5 @@
* and programs/Xserver/hw/vnc whenever you change this file.
*/
-VNCLIBS = $(TOP)/../libvncauth/libvncauth.a
-
-#ifdef OSF1Architecture
-/* 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
-#endif
-
-VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include
+VNCLIBS = $(TOP)/../libvncauth/libvncauth.a ${LOCALBASE}/lib/libjpeg.a
+VNCCPPFLAGS = -I$(TOP)/../include -I${LOCALBASE}/include