diff -urN tightvnc.orig/Makefile tightvnc/Makefile --- tightvnc.orig/Makefile 2009-01-24 11:24:46.000000000 +0900 +++ tightvnc/Makefile 2009-03-09 08:05:18.000000000 +0900 @@ -7,8 +7,7 @@ # PORTNAME= tightvnc -PORTVERSION= 1.3.9 -PORTREVISION= 2 +PORTVERSION= 1.3.10 CATEGORIES= net MASTER_SITES= SF MASTER_SITE_SUBDIR= vnc-tight @@ -51,6 +50,7 @@ #.include +MAKE_ENV += "HasFfsl=yes" .if exists(${LOCALBASE}/share/vnc/classes/index.vnc) IGNORE= vnc has already been installed, please uninstall it first .endif diff -urN tightvnc.orig/distinfo tightvnc/distinfo --- tightvnc.orig/distinfo 2007-10-19 04:35:27.000000000 +0900 +++ tightvnc/distinfo 2009-03-09 07:42:12.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (tightvnc-1.3.9_unixsrc.tar.bz2) = 49a0748ea52793f2e3069e05af28f716 -SHA256 (tightvnc-1.3.9_unixsrc.tar.bz2) = 99aaca636535f9127f3a435ee71aef6821f821e6319bc6e9b2c775fefd34325a -SIZE (tightvnc-1.3.9_unixsrc.tar.bz2) = 1792459 +MD5 (tightvnc-1.3.10_unixsrc.tar.bz2) = 397b35faad32d5246b6d44b142f8304f +SHA256 (tightvnc-1.3.10_unixsrc.tar.bz2) = f48c70fea08d03744ae18df6b1499976362f16934eda3275cead87baad585c0d +SIZE (tightvnc-1.3.10_unixsrc.tar.bz2) = 1780510 diff -urN tightvnc.orig/files/patch-Xvnc::config::cf::FreeBSD.cf tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf --- tightvnc.orig/files/patch-Xvnc::config::cf::FreeBSD.cf 2007-11-02 05:13:25.000000000 +0900 +++ tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf 2009-03-09 08:19:52.000000000 +0900 @@ -1,5 +1,5 @@ --- Xvnc/config/cf/FreeBSD.cf.orig 2000-06-11 21:00:51.000000000 +0900 -+++ Xvnc/config/cf/FreeBSD.cf 2007-09-04 17:11:16.000000000 +0900 ++++ Xvnc/config/cf/FreeBSD.cf 2009-03-09 08:18:00.000000000 +0900 @@ -253,11 +253,17 @@ #endif @@ -20,7 +20,17 @@ #ifndef PreIncDir # define PreIncDir /usr/include #endif -@@ -359,6 +366,5 @@ +@@ -353,12 +359,15 @@ + #define HasBsdMake YES + #endif + ++#if OSMajorVersion > 5 || (OSMajorVersion == 5 && OSMinorVersion >= 3) ++#define HasFfsl YES ++#endif ++ + #ifndef StaticLibrary + #define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic + #endif #include