Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 20:43:02 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461652 - head/net/opensips
Message-ID:  <201802122043.w1CKh2je069313@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Feb 12 20:43:02 2018
New Revision: 461652
URL: https://svnweb.freebsd.org/changeset/ports/461652

Log:
  Remove dependency on the python metaports

Modified:
  head/net/opensips/Makefile

Modified: head/net/opensips/Makefile
==============================================================================
--- head/net/opensips/Makefile	Mon Feb 12 20:21:13 2018	(r461651)
+++ head/net/opensips/Makefile	Mon Feb 12 20:43:02 2018	(r461652)
@@ -3,7 +3,7 @@
 
 PORTNAME=		opensips
 PORTVERSION=		2.2.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=		net
 MASTER_SITES=		http://opensips.org/pub/opensips/${PORTVERSION}/
 
@@ -20,17 +20,13 @@ LIB_DEPENDS=		libxml2.so:textproc/libxml2 \
 			librabbitmq.so:net/rabbitmq-c-devel \
 			libhiredis.so:databases/hiredis \
 			libexpat.so:textproc/expat2 \
-			libpython2.7.so:lang/python27 \
 			libcurl.so:ftp/curl \
 			libjson-c.so:devel/json-c
 BUILD_DEPENDS=		ginstall:sysutils/coreutils \
 			gtar:archivers/gtar \
 			gm4:devel/m4 \
-			redis-server:databases/redis-devel \
-			python2:lang/python2 \
-			python:lang/python
+			redis-server:databases/redis-devel
 RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
-			${LOCALBASE}/bin/python2:lang/python2 \
 			${LOCALBASE}/bin/grep:textproc/gnugrep
 
 GINSTALL=		ginstall
@@ -40,7 +36,7 @@ DOCSDIR=		share/doc/opensips
 
 USE_RC_SUBR=		opensips
 
-USES=			gmake ncurses perl5 pkgconfig shebangfix ssl
+USES=			gmake ncurses perl5 pkgconfig python:2.7 shebangfix ssl
 USE_GCC=		yes
 
 NOPRECIOUSMAKEVARS=	yes
@@ -188,7 +184,7 @@ EXTRA_MODULES+=		proto_tls
 EXTRA_MODULES+=		db_sqlite
 .endif
 
-OPENSIPS_MAKE_ENV=	CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+OPENSIPS_MAKE_ENV=	CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" PYTHON=${PYTHON_CMD}
 
 post-patch:
 	@${RM} ${WRKSRC}/modules/json/array_del.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802122043.w1CKh2je069313>