svn commit: r411641 - head/security/openvas-libraries/files

Tijl Coosemans tijl at FreeBSD.org
Tue Mar 22 09:15:29 UTC 2016


Author: tijl
Date: Tue Mar 22 09:15:28 2016
New Revision: 411641
URL: https://svnweb.freebsd.org/changeset/ports/411641

Log:
  Fix build on FreeBSD 9 which doesn't have a zlib pkgconfig file.

Added:
  head/security/openvas-libraries/files/patch-base-CMakeLists.txt   (contents, props changed)

Added: head/security/openvas-libraries/files/patch-base-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openvas-libraries/files/patch-base-CMakeLists.txt	Tue Mar 22 09:15:28 2016	(r411641)
@@ -0,0 +1,12 @@
+--- base/CMakeLists.txt.orig	2015-08-03 10:14:33 UTC
++++ base/CMakeLists.txt
+@@ -30,7 +30,8 @@ if (NOT MINGW)
+   # because they change the API (e.g. _FILE_OFFSET_BITS).
+   set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -D_FILE_OFFSET_BITS=64 -Wall -fPIC")
+ 
+-  pkg_check_modules (ZLIB REQUIRED zlib)
++  set (ZLIB_INCLUDE_DIRS "")
++  set (ZLIB_LDFLAGS "-lz")
+ 
+   pkg_check_modules (GIO REQUIRED gio-2.0)
+ endif (NOT MINGW)


More information about the svn-ports-all mailing list