mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
Highlights: - Update from 1.4.6 to 1.4.9 - MAGNETIC_EMM2017 model addd - Switched to CMake for build head/tail usage must be patched to avoid use of --lines; work is in progress to eventually grow this long-option alternative to -n so that such patching isn't necessary at some point in the future. PR: 218158 Approved by: ak (ports), Tatsuki Makino (maintainer)
23 lines
1 KiB
Text
23 lines
1 KiB
Text
--- CMakeLists.txt.orig 2017-10-05 10:11:23 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -177,6 +177,11 @@ option (APPLE_MULTIPLE_ARCHITECTURES
|
|
# directory is present you get this behavior regardless.
|
|
option (CONVERT_WARNINGS_TO_ERRORS "Convert warnings into errors?" OFF)
|
|
|
|
+# (12) Allow perl usage to be explicitly disabled. It might exist on the
|
|
+# system, but the user may not necessarily want it to be used for one reason
|
|
+# or another.
|
|
+option (GEOGRAPHICLIB_NO_PERL "Disable usage of pod2man and pod2html" OFF)
|
|
+
|
|
set (LIBNAME Geographic)
|
|
if (MSVC OR CMAKE_CONFIGURATION_TYPES)
|
|
# For multi-config systems and for Visual Studio, the debug version of
|
|
@@ -450,7 +455,7 @@ endif ()
|
|
# documentation files into the source tree. Skip Apple here because
|
|
# man/makeusage.sh uses "head --lines -4" to drop the last 4 lines of a
|
|
# file and there's no simple equivalent for MacOSX
|
|
-if (NOT WIN32 AND NOT APPLE)
|
|
+if (NOT WIN32 AND NOT APPLE AND NOT GEOGRAPHICLIB_NO_PERL)
|
|
find_program (HAVE_POD2MAN pod2man)
|
|
find_program (HAVE_POD2HTML pod2html)
|
|
find_program (HAVE_COL col)
|