Unbreak for 9.0-CURRENT (actually it [vnc/module] also failed to build under

8.2-STABLE however the failure was ignored by 8.2's make).

Assume maintainership.

Approved by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (Maintainer)
This commit is contained in:
Cy Schubert 2011-05-20 07:11:02 +00:00
parent c569aff324
commit ac8685d52c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274359
2 changed files with 19 additions and 5 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= vnc
PORTVERSION= 4.1.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= http://www.realvnc.com/:vnc
DISTNAME= vnc-4_1_3-unixsrc
@ -44,10 +44,6 @@ PREFIX=${REALVNC_BASE}
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SERVER)
.if ${OSVERSION} >= 900000
BROKEN= VNC server part does not build on 9.x
.endif
# This is a placeholder MASTER_SITES entry -- see the pre-fetch target.
MASTER_SITES+= ${MASTER_SITE_XFREE:S/$/:x/}
MASTER_SITE_SUBDIR+= 4.3.0/:x

View file

@ -0,0 +1,18 @@
--- xc/programs/Xserver/vnc/Imakefile.orig 2008-10-14 06:28:36.000000000 -0700
+++ xc/programs/Xserver/vnc/Imakefile 2011-05-19 22:16:59.424818247 -0700
@@ -7,15 +7,8 @@
#define CplusplusSource
-#if DoLoadableServer
-#define IHaveSubdirs
-#endif
-
#include <Server.tmpl>
-#if DoLoadableServer
- MODULE_SUBDIRS = module
-#endif
SRCS = vncExtInit.cc vncHooks.cc XserverDesktop.cc
OBJS = vncExtInit.o vncHooks.o XserverDesktop.o
INCLUDES = -I../include -I$(EXTINCSRC) -I$(XINCLUDESRC) -I$(FONTINCSRC) \