summaryrefslogtreecommitdiff
path: root/net/nxserver/files/patch-nxviewer-nxviewer-Imakefile
blob: 0d13d258dc499c6434a4cfe6f654457333239cc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- nxviewer/nxviewer/Imakefile.orig	Fri Dec  1 08:54:17 2006
+++ nxviewer/nxviewer/Imakefile
@@ -26,6 +26,11 @@
 DEFINES = -DMITSHM
 #endif
 
+#if defined(i386Architecture) && defined(FreeBSDArchitecture)
+DEFINES = -DMITSHM
+JPEG_INC = -I/usr/local/include
+#endif
+
 NX_INC = -I../../nxcomp -I../../nxcompext -I../../nx-X11/exports/include
 NX_LIB = -L../../nxcomp -lXcomp -L../../nxcompext -lXcompext
 
@@ -37,7 +42,7 @@
 #endif
 
 
-INCLUDES = -I../include -I. $(ZLIB_INC) $(JPEG_INC) -I/usr/include/X11 $(NX_INC)
+INCLUDES = -I../include -I. $(ZLIB_INC) $(JPEG_INC) -I../../nx-X11/exports/include/X11 $(NX_INC)
 
 VNCAUTH_LIB = ../libvncauth/libvncauth.a
 ZLIB_LIB = -L/usr/local/lib -lz