summaryrefslogtreecommitdiff
path: root/net/tightvnc/files/patch-vncviewer__Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tightvnc/files/patch-vncviewer__Imakefile')
-rw-r--r--net/tightvnc/files/patch-vncviewer__Imakefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/tightvnc/files/patch-vncviewer__Imakefile b/net/tightvnc/files/patch-vncviewer__Imakefile
new file mode 100644
index 000000000000..0cf49c07a7c0
--- /dev/null
+++ b/net/tightvnc/files/patch-vncviewer__Imakefile
@@ -0,0 +1,30 @@
+--- vncviewer/Imakefile.orig Thu Sep 26 11:26:17 2002
++++ vncviewer/Imakefile Thu Sep 26 11:28:47 2002
+@@ -10,17 +10,12 @@
+ DEFINES = -DMITSHM
+ #endif
+
+-ZLIB_INC = -I/usr/local/include
+-JPEG_INC = -I/usr/local/include
++ZLIB_INC = -I%%LOCALBASE%%/include
++JPEG_INC = -I%%LOCALBASE%%/include
+ INCLUDES = -I../include -I. $(ZLIB_INC) $(JPEG_INC) -I/usr/include
+ VNCAUTH_LIB = ../libvncauth/libvncauth.a
+-ZLIB_LIB = -L/usr/local/lib -lz
+-#ifdef OSF1Architecture
+-XCOMM Avoid linking with different libjpeg in /usr/shlib under Tru64.
+-JPEG_LIB = /usr/local/lib/libjpeg.a
+-#else
+-JPEG_LIB = -L/usr/local/lib -ljpeg
+-#endif
++ZLIB_LIB = -L%%LOCALBASE%%/lib -lz
++JPEG_LIB = -L%%LOCALBASE%%/lib -ljpeg
+
+ DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB)
+ LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(JPEG_LIB)
+@@ -44,4 +39,4 @@
+
+ OBJS = $(SRCS:.c=.o)
+
+-ComplexProgramTarget(vncviewer)
++ComplexProgramTargetNoMan(vncviewer)