From owner-svn-ports-head@freebsd.org Tue Nov 21 17:00:14 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C42FADF4115; Tue, 21 Nov 2017 17:00:14 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8661076093; Tue, 21 Nov 2017 17:00:14 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vALH0Dwa067306; Tue, 21 Nov 2017 17:00:13 GMT (envelope-from timur@FreeBSD.org) Received: (from timur@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vALH0D0k067300; Tue, 21 Nov 2017 17:00:13 GMT (envelope-from timur@FreeBSD.org) Message-Id: <201711211700.vALH0D0k067300@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: timur set sender to timur@FreeBSD.org using -f From: "Timur I. Bakeyev" Date: Tue, 21 Nov 2017 17:00:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454619 - in head: databases/ldb databases/ldb12 databases/ldb13 databases/tdb devel/talloc devel/tevent X-SVN-Group: ports-head X-SVN-Commit-Author: timur X-SVN-Commit-Paths: in head: databases/ldb databases/ldb12 databases/ldb13 databases/tdb devel/talloc devel/tevent X-SVN-Commit-Revision: 454619 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 17:00:14 -0000 Author: timur Date: Tue Nov 21 17:00:12 2017 New Revision: 454619 URL: https://svnweb.freebsd.org/changeset/ports/454619 Log: Make sure that you can compile all supplimentary ports without Python bindings Modified: head/databases/ldb/Makefile head/databases/ldb12/Makefile head/databases/ldb13/Makefile head/databases/tdb/Makefile head/devel/talloc/Makefile head/devel/tevent/Makefile Modified: head/databases/ldb/Makefile ============================================================================== --- head/databases/ldb/Makefile Tue Nov 21 16:56:24 2017 (r454618) +++ head/databases/ldb/Makefile Tue Nov 21 17:00:12 2017 (r454619) @@ -77,7 +77,8 @@ PLIST_FILES= include/ldb_version.h \ %%PKGCONFIGDIR%%/ldb.pc .if defined(NO_PYTHON) -CONFIGURE_ARGS+= --disable-python +USES+= python:2.7,build +#CONFIGURE_ARGS+= --disable-python .else USES+= python:2.7 @@ -141,6 +142,25 @@ post-install: .if !defined(NO_PYTHON) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb.so +.else +.for file in include/pyldb.h \ + lib/libpyldb-util.so \ + lib/libpyldb-util.so.1 \ + lib/ldb/libpytalloc-util.so.2 + ${RM} ${STAGEDIR}${PREFIX}/${file} +.endfor +.for file in ${PYTHON_SITELIBDIR}/ldb.so \ + ${PYTHON_SITELIBDIR}/_ldb_text.py \ + ${PYTHON_SITELIBDIR}/_tdb_text.py \ + ${PYTHON_SITELIBDIR}/_tevent.so \ + ${PYTHON_SITELIBDIR}/talloc.so \ + ${PYTHON_SITELIBDIR}/tdb.so \ + ${PYTHON_SITELIBDIR}/tevent.py \ + ${PKGCONFIGDIR}/pyldb-util.pc + ${RM} ${STAGEDIR}/${file} +.endfor + ${RMDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} + ${RMDIR} ${STAGEDIR}${PYTHON_LIBDIR} .endif .include Modified: head/databases/ldb12/Makefile ============================================================================== --- head/databases/ldb12/Makefile Tue Nov 21 16:56:24 2017 (r454618) +++ head/databases/ldb12/Makefile Tue Nov 21 17:00:12 2017 (r454619) @@ -79,6 +79,7 @@ PLIST_FILES= include/ldb_version.h \ %%PKGCONFIGDIR%%/ldb.pc .if defined(NO_PYTHON) +USES+= python:2.7,build CONFIGURE_ARGS+= --disable-python .else USES+= python:2.7 Modified: head/databases/ldb13/Makefile ============================================================================== --- head/databases/ldb13/Makefile Tue Nov 21 16:56:24 2017 (r454618) +++ head/databases/ldb13/Makefile Tue Nov 21 17:00:12 2017 (r454619) @@ -79,6 +79,7 @@ PLIST_FILES= include/ldb_version.h \ %%PKGCONFIGDIR%%/ldb.pc .if defined(NO_PYTHON) +USES+= python:2.7,build CONFIGURE_ARGS+= --disable-python .else USES+= python:2.7 Modified: head/databases/tdb/Makefile ============================================================================== --- head/databases/tdb/Makefile Tue Nov 21 16:56:24 2017 (r454618) +++ head/databases/tdb/Makefile Tue Nov 21 17:00:12 2017 (r454619) @@ -44,6 +44,7 @@ PLIST_FILES+= include/tdb.h \ %%PKGCONFIGDIR%%/tdb.pc .if defined(NO_PYTHON) +USES+= python:2.7,build CONFIGURE_ARGS+= --disable-python .else USES+= python:2.7 Modified: head/devel/talloc/Makefile ============================================================================== --- head/devel/talloc/Makefile Tue Nov 21 16:56:24 2017 (r454618) +++ head/devel/talloc/Makefile Tue Nov 21 17:00:12 2017 (r454619) @@ -37,6 +37,7 @@ PLIST_FILES+= include/talloc.h \ %%PKGCONFIGDIR%%/talloc.pc .if defined(NO_PYTHON) +USES+= python:2.7,build CONFIGURE_ARGS+= --disable-python .else USES+= python:2.7 Modified: head/devel/tevent/Makefile ============================================================================== --- head/devel/tevent/Makefile Tue Nov 21 16:56:24 2017 (r454618) +++ head/devel/tevent/Makefile Tue Nov 21 17:00:12 2017 (r454619) @@ -43,6 +43,7 @@ PLIST_FILES+= include/tevent.h \ %%PKGCONFIGDIR%%/tevent.pc .if defined(NO_PYTHON) +USES+= python:2.7,build CONFIGURE_ARGS+= --disable-python .else USES+= python:2.7