Hi All!

Please find below a diff to disable git searching at build-time and add
python as build only depend.

With the diff:

-- Found Threads: TRUE
-- Looking for C++ include syslog.h
-- Looking for C++ include syslog.h - found
-- Enabled syslog logging support
-- Found Intl: /usr/local/include
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.19.8.1")
-- clang-tidy check skipped, need newer cmake
-- Found TinyXML: /usr/local/include
-- Using vendored Easylogging++
-- Setting C++11
-- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.15")
-- git Version: v0.0.0
-- Version: 0.0.0

without:

-- Found Threads: TRUE
-- Looking for C++ include syslog.h
-- Looking for C++ include syslog.h - found
-- Enabled syslog logging support
-- Found Intl: /usr/local/include
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.19.8.1")
-- clang-tidy check skipped, need newer cmake
-- Found TinyXML: /usr/local/include
-- Using vendored Easylogging++
-- Setting C++11
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.15")
-- Found Git: /usr/local/bin/git (found version "2.19.1")
-- git Version: v0.0.0
-- Version: 0.0.0

Ok?


Index: Makefile
===================================================================
RCS file: /cvs/ports/security/encfs/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile    26 Aug 2018 11:47:10 -0000      1.19
+++ Makefile    8 Oct 2018 20:39:34 -0000
@@ -4,7 +4,7 @@ COMMENT =               fuse-based cryptographic file
 
 V =                    1.9.5
 DISTNAME =             encfs-$V
-REVISION =             0
+REVISION =             1
 
 CATEGORIES =           security
 
@@ -19,12 +19,18 @@ MASTER_SITES =              https://github.com/vgoug
 
 COMPILER =             base-clang ports-clang ports-gcc
 
-MODULES =              devel/cmake
+MODULES =              devel/cmake \
+                       lang/python
+
+MODPY_RUNDEP =         No
+
 BUILD_DEPENDS =                devel/gettext-tools
 LIB_DEPENDS =          devel/gettext \
                        textproc/tinyxml2
 
-CONFIGURE_ARGS =       -DUSE_INTERNAL_TINYXML:Bool=Off
+CONFIGURE_ARGS =       -DUSE_INTERNAL_TINYXML=Off \
+                       -DCMAKE_DISABLE_FIND_PACKAGE_Git=On
+
 CONFIGURE_ENV =                CXXFLAGS="-DHAVE_UTIMENSAT 
-D_DIRENT_HAVE_D_TYPE"
 
 TEST_TARGET =          unittests test

Reply via email to