From owner-svn-ports-head@freebsd.org Sun Jun 28 17:04:22 2015 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 579F398FAD7; Sun, 28 Jun 2015 17:04:22 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 487371959; Sun, 28 Jun 2015 17:04:22 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5SH4M8J019819; Sun, 28 Jun 2015 17:04:22 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5SH4M2i019818; Sun, 28 Jun 2015 17:04:22 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201506281704.t5SH4M2i019818@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Sun, 28 Jun 2015 17:04:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390797 - head/www/varnish4 X-SVN-Group: ports-head 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.20 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: Sun, 28 Jun 2015 17:04:22 -0000 Author: feld Date: Sun Jun 28 17:04:21 2015 New Revision: 390797 URL: https://svnweb.freebsd.org/changeset/ports/390797 Log: Require python as a run dependency, too python is required for you to be able to build custom vmods and also for other vmods in the ports tree to build. Better off including the requirement here as we ship the vmodtool.py utility and do not want to surprise end users. shebangfix was included as the default shebang on vmodtool.py is /usr/bin/env python which is not going to work unless the lang/python metaport is installed, which is not included with USES=python. Instead we just rewrite this to whichever the default system python intepreter is (PYTHON_VERISON). Modified: head/www/varnish4/Makefile Modified: head/www/varnish4/Makefile ============================================================================== --- head/www/varnish4/Makefile Sun Jun 28 16:49:08 2015 (r390796) +++ head/www/varnish4/Makefile Sun Jun 28 17:04:21 2015 (r390797) @@ -2,7 +2,7 @@ PORTNAME= varnish PORTVERSION= 4.0.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= http://repo.varnish-cache.org/source/ PKGNAMESUFFIX= 4 @@ -17,7 +17,10 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/deve CONFLICTS= varnish-2.* varnish-3.* -USES= autoreconf cpe gmake libtool pkgconfig python:build readline +USES= autoreconf cpe gmake libtool pkgconfig python readline shebangfix +SHEBANG_FILES= lib/libvcc/vmodtool.py +python_OLD_CMD= /usr/bin/env python +python_CMD= ${LOCALBASE}/bin/${PYTHON_VERSION} CPE_VENDOR= varnish-cache CFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes