Date: Tue, 22 Mar 2016 09:15:28 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411641 - head/security/openvas-libraries/files Message-ID: <201603220915.u2M9FSBu044776@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603220915.u2M9FSBu044776>