ports/net/nxserver/files/patch-nxviewer-nxviewer-Imakefile
Dirk Meyer b86a05ab73 - update to 2.1.0
- make portlint happier
- fix missing USE_LDCONFIG
PR:		112887
Obtained from:	http://www.deweyonline.com/nx/freebsd.html
2008-04-10 10:22:19 +00:00

23 lines
694 B
Text

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