diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-22 20:07:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-22 20:07:46 +0000 |
commit | cac1131fcb0f51af579a3f9729f7194f2c380dde (patch) | |
tree | 1fe69635d2b77e8a28997cd359c1513c85dddcb6 /net | |
parent | 4f6babed5bab3a3b0d52fad2779782bf57090e51 (diff) | |
download | pkgsrc-cac1131fcb0f51af579a3f9729f7194f2c380dde.tar.gz |
Do as the comment say and use -fPIC everywhere but for Win32.
Bump revision.
Diffstat (limited to 'net')
-rw-r--r-- | net/tigervnc/Makefile | 3 | ||||
-rw-r--r-- | net/tigervnc/distinfo | 3 | ||||
-rw-r--r-- | net/tigervnc/patches/patch-common_CMakeLists.txt | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/net/tigervnc/Makefile b/net/tigervnc/Makefile index 5201d00db75..273ecb6f05a 100644 --- a/net/tigervnc/Makefile +++ b/net/tigervnc/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2015/03/19 13:24:13 jperkin Exp $ +# $NetBSD: Makefile,v 1.3 2015/03/22 20:07:46 joerg Exp $ DISTNAME= tigervnc-1.3.1 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tigervnc/} XORG_SERVER_FILE= xorg-server-1.12.4 diff --git a/net/tigervnc/distinfo b/net/tigervnc/distinfo index 4a0d84ad0f6..80b06a6b2fb 100644 --- a/net/tigervnc/distinfo +++ b/net/tigervnc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2015/02/08 19:42:09 wiz Exp $ +$NetBSD: distinfo,v 1.2 2015/03/22 20:07:46 joerg Exp $ SHA1 (tigervnc-1.3.1.tar.gz) = 308ec9a9a627d20406eebfaeac4f3d4398278cc1 RMD160 (tigervnc-1.3.1.tar.gz) = 522cbd74cfd0293dbc82f4a570dc5beb206c9ed8 @@ -7,6 +7,7 @@ SHA1 (xorg-server-1.12.4.tar.bz2) = 6d616874f9c7677bda08dc073c03f83e78fbc585 RMD160 (xorg-server-1.12.4.tar.bz2) = 4907b5dc42efd6b3fb6bf9d64f1441080a6a6983 Size (xorg-server-1.12.4.tar.bz2) = 5444761 bytes SHA1 (patch-CMakeLists.txt) = c5d2bd4b0f56977c8cd3c4b0a46359c765ada200 +SHA1 (patch-common_CMakeLists.txt) = e3dabe3d8ae146cf68a9660a20af2f36c2827731 SHA1 (patch-media_CMakeLists.txt) = cd50f9b7a9405aa523412ef823a32437a3c19ffa SHA1 (patch-unix_vncserver) = 8baacca2d1083f330781caff7da2ac996af91aa4 SHA1 (patch-unix_xserver_hw_vnc_InputXKB.cc) = 440067e4995b7e1a0580bd106eb63740f400cb2c diff --git a/net/tigervnc/patches/patch-common_CMakeLists.txt b/net/tigervnc/patches/patch-common_CMakeLists.txt new file mode 100644 index 00000000000..563068c8a02 --- /dev/null +++ b/net/tigervnc/patches/patch-common_CMakeLists.txt @@ -0,0 +1,13 @@ +$NetBSD: patch-common_CMakeLists.txt,v 1.1 2015/03/22 20:07:46 joerg Exp $ + +--- common/CMakeLists.txt.orig 2015-03-22 17:29:15.000000000 +0000 ++++ common/CMakeLists.txt +@@ -16,7 +16,7 @@ add_subdirectory(rfb) + # because PIC code does not exist on that platform and MinGW complains if -fPIC + # is passed (additionally, libvnc is not used on Windows.) + +-if(CMAKE_COMPILER_IS_GNUCXX AND (CMAKE_SIZEOF_VOID_P MATCHES 8) AND NOT WIN32) ++if(NOT WIN32) + set_target_properties(os rdr network Xregion rfb + PROPERTIES COMPILE_FLAGS -fPIC) + if(USE_INCLUDED_ZLIB) |