Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2020 20:58:31 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552899 - in head/www: unit-perl unit-php unit-python unit-ruby
Message-ID:  <202010212058.09LKwVdI062678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Wed Oct 21 20:58:31 2020
New Revision: 552899
URL: https://svnweb.freebsd.org/changeset/ports/552899

Log:
  It's possible to build an NGINX Unit module without
  a unitd binary build, so skip unit binary build to
  be more green.
  
  Bump PORTREVISION.
  
  Suggested by:	Valentin Bartenev <ne@vbart.ru>

Modified:
  head/www/unit-perl/Makefile
  head/www/unit-php/Makefile
  head/www/unit-python/Makefile
  head/www/unit-ruby/Makefile

Modified: head/www/unit-perl/Makefile
==============================================================================
--- head/www/unit-perl/Makefile	Wed Oct 21 20:54:56 2020	(r552898)
+++ head/www/unit-perl/Makefile	Wed Oct 21 20:58:31 2020	(r552899)
@@ -1,7 +1,7 @@
 # Created by: Sergey Osokin <osa@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	1
+PORTREVISION=	2
 PKGNAMESUFFIX=	-perl${PERL_VER}
 
 COMMENT=	Perl module for NGINX Unit
@@ -19,6 +19,9 @@ MASTERDIR=	${.CURDIR}/../unit
 post-configure:
 	cd ${CONFIGURE_WRKSRC} && \
 	./configure perl --module=perl${PERL_VER}
+
+do-build:
+	cd ${CONFIGURE_WRKSRC} && ${MAKE} perl${PERL_VER}
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/

Modified: head/www/unit-php/Makefile
==============================================================================
--- head/www/unit-php/Makefile	Wed Oct 21 20:54:56 2020	(r552898)
+++ head/www/unit-php/Makefile	Wed Oct 21 20:58:31 2020	(r552899)
@@ -1,7 +1,7 @@
 # Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	1
+PORTREVISION=	2
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 COMMENT=	PHP module for NGINX Unit
@@ -20,6 +20,9 @@ post-configure:
 	cd ${CONFIGURE_WRKSRC} && \
 	./configure php --lib-path=${LOCALBASE}/lib \
 			--module=php${PHP_VER}
+
+do-build:
+	cd ${CONFIGURE_WRKSRC} && ${MAKE} php${PHP_VER}
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/

Modified: head/www/unit-python/Makefile
==============================================================================
--- head/www/unit-python/Makefile	Wed Oct 21 20:54:56 2020	(r552898)
+++ head/www/unit-python/Makefile	Wed Oct 21 20:58:31 2020	(r552899)
@@ -1,7 +1,7 @@
 # Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	1
+PORTREVISION=	2
 PKGNAMESUFFIX=	-python${PYTHON_SUFFIX}
 
 COMMENT=	Python module for NGINX Unit
@@ -21,6 +21,10 @@ post-configure:
 	cd ${CONFIGURE_WRKSRC} && \
 	./configure python --module=python${PYTHON_SUFFIX} \
 			--config=${PYTHON_CMD}-config
+
+do-build:
+	cd ${CONFIGURE_WRKSRC} && ${MAKE} python${PYTHON_SUFFIX}
+
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
 	${INSTALL_LIB} ${WRKSRC}/build/python${PYTHON_SUFFIX}.unit.so \

Modified: head/www/unit-ruby/Makefile
==============================================================================
--- head/www/unit-ruby/Makefile	Wed Oct 21 20:54:56 2020	(r552898)
+++ head/www/unit-ruby/Makefile	Wed Oct 21 20:58:31 2020	(r552899)
@@ -1,7 +1,7 @@
 # Created by: Sergey Osokin <osa@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	2
+PORTREVISION=	3
 PKGNAMESUFFIX=	-ruby${RUBY_VER}
 
 COMMENT=	Ruby module for NGINX Unit
@@ -20,6 +20,9 @@ MASTERDIR=	${.CURDIR}/../unit
 post-configure:
 	cd ${CONFIGURE_WRKSRC} && \
 	./configure ruby --module=ruby${RUBY_VER}
+
+do-build:
+	cd ${CONFIGURE_WRKSRC} && ${MAKE} ruby${RUBY_VER}
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/



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