aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2017-05-27 07:03:53 +0800
committercpm <cpm@FreeBSD.org>2017-05-27 07:03:53 +0800
commite8e911ddfa3fd492c743323c8e600e25f5bd29d9 (patch)
tree99c2d49bba1ea71494fd075c7a89e29cd0953493
parent53e48ec61427984ef7d2f71e34496fa154ae968f (diff)
downloadfreebsd-ports-gnome-e8e911ddfa3fd492c743323c8e600e25f5bd29d9.tar.gz
freebsd-ports-gnome-e8e911ddfa3fd492c743323c8e600e25f5bd29d9.tar.zst
freebsd-ports-gnome-e8e911ddfa3fd492c743323c8e600e25f5bd29d9.zip
- Mark tigervnc-devel ignore because no development version available right now
- Remove CONFLICTS with vnc as net/vnc port no longer exists - Pet portlint, move LIB_DEPENDS up and regenerate patches with make makepatch PR: 219566 Submitted by: Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
-rw-r--r--net/tigervnc-devel/Makefile12
-rw-r--r--net/tigervnc-devel/files/patch-CMakeLists.txt6
-rw-r--r--net/tigervnc-devel/files/patch-cmake_BuildPackages.cmake10
-rw-r--r--net/tigervnc-devel/files/patch-unix_vncserver4
4 files changed, 15 insertions, 17 deletions
diff --git a/net/tigervnc-devel/Makefile b/net/tigervnc-devel/Makefile
index d9ae48b515d2..2cbe5252a47d 100644
--- a/net/tigervnc-devel/Makefile
+++ b/net/tigervnc-devel/Makefile
@@ -18,14 +18,16 @@ BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dr
${LOCALBASE}/libdata/pkgconfig/fontutil.pc:x11-fonts/font-util \
${LOCALBASE}/include/FL/Fl.H:x11-toolkits/fltk \
bash:shells/bash
+LIB_DEPENDS= libunwind.so:devel/libunwind \
+ libxshmfence.so:x11/libxshmfence \
+ libfontconfig.so:x11-fonts/fontconfig
# almost equivalent to x11-servers/xorg-server's
RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \
xkbcomp:x11/xkbcomp
CONFLICTS= tigervnc-[0-9]* \
tightvnc-[0-9]* \
- tridiavnc-[0-9]* \
- vnc-[0-9]*
+ tridiavnc-[0-9]*
USES= autoreconf:build cmake cpe iconv jpeg libtool pkgconfig \
python ssl
@@ -40,12 +42,10 @@ USE_XORG+= bigreqsproto compositeproto damageproto fixesproto fontsproto glproto
xdmcp xext xextproto xfont xkbfile xorg-macros xproto xrandr xrender \
xtrans xtst
-LIB_DEPENDS= libunwind.so:devel/libunwind \
- libxshmfence.so:x11/libxshmfence \
- libfontconfig.so:x11-fonts/fontconfig
-
CFLAGS+= -fPIC
+IGNORE= no development version available right now. Please use net/tigervnc instead
+
OPTIONS_DEFINE= GNUTLS NLS PAM VIEWER DOCS
OPTIONS_DEFAULT= GNUTLS PAM VIEWER
VIEWER_DESC= Build vncviewer
diff --git a/net/tigervnc-devel/files/patch-CMakeLists.txt b/net/tigervnc-devel/files/patch-CMakeLists.txt
index c85cb06617c6..54b000d82582 100644
--- a/net/tigervnc-devel/files/patch-CMakeLists.txt
+++ b/net/tigervnc-devel/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2013-07-21 16:21:37.028241067 +0000
-+++ CMakeLists.txt 2013-07-21 16:21:59.310260222 +0000
-@@ -26,7 +26,7 @@
+--- CMakeLists.txt.orig 2017-04-19 13:27:31 UTC
++++ CMakeLists.txt
+@@ -29,7 +29,7 @@ set(RCVERSION 1,7,90,0)
# Installation paths
set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin")
set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share")
diff --git a/net/tigervnc-devel/files/patch-cmake_BuildPackages.cmake b/net/tigervnc-devel/files/patch-cmake_BuildPackages.cmake
index 5da0133daa7e..0945ce653f4d 100644
--- a/net/tigervnc-devel/files/patch-cmake_BuildPackages.cmake
+++ b/net/tigervnc-devel/files/patch-cmake_BuildPackages.cmake
@@ -1,10 +1,10 @@
---- cmake/BuildPackages.cmake.orig 2012-05-28 00:21:51.000000000 +0900
-+++ cmake/BuildPackages.cmake 2012-05-28 00:22:15.000000000 +0900
-@@ -86,5 +86,5 @@
+--- cmake/BuildPackages.cmake.orig 2017-04-19 13:27:31 UTC
++++ cmake/BuildPackages.cmake
+@@ -86,5 +86,5 @@ endif() #UNIX
# Common
#
--install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION doc)
--install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION doc)
+-install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION ${DOC_DIR})
+-install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${DOC_DIR})
+install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION share/doc/tigervnc)
+install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION share/doc/tigervnc)
diff --git a/net/tigervnc-devel/files/patch-unix_vncserver b/net/tigervnc-devel/files/patch-unix_vncserver
index 2ce761cac3d8..f7eed0e6c7e2 100644
--- a/net/tigervnc-devel/files/patch-unix_vncserver
+++ b/net/tigervnc-devel/files/patch-unix_vncserver
@@ -1,6 +1,4 @@
-diff --git unix/vncserver unix/vncserver
-index 2ef436a7..dac27520 100755
---- unix/vncserver
+--- unix/vncserver.orig 2017-04-19 13:27:31 UTC
+++ unix/vncserver
@@ -532,7 +532,7 @@ sub CheckDisplayNumber