summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2020-10-21 20:58:31 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2020-10-21 20:58:31 +0000
commit780c77b9d5b64b2c35a71179764820ceb36f16db (patch)
tree7ee469c8d9d8e21e63e2384cb3d1fbdb481c69a9
parentmisc/iio-oscilloscope: fix build on GCC architectures (diff)
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>
Notes
Notes: svn path=/head/; revision=552899
-rw-r--r--www/unit-perl/Makefile5
-rw-r--r--www/unit-php/Makefile5
-rw-r--r--www/unit-python/Makefile6
-rw-r--r--www/unit-ruby/Makefile5
4 files changed, 17 insertions, 4 deletions
diff --git a/www/unit-perl/Makefile b/www/unit-perl/Makefile
index 75ea2bd4f4ea..0e12b01abd91 100644
--- a/www/unit-perl/Makefile
+++ b/www/unit-perl/Makefile
@@ -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
@@ -20,6 +20,9 @@ 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/
${INSTALL_LIB} ${WRKSRC}/build/perl${PERL_VER}.unit.so \
diff --git a/www/unit-php/Makefile b/www/unit-php/Makefile
index e010d8ac74fe..626fbf41b63f 100644
--- a/www/unit-php/Makefile
+++ b/www/unit-php/Makefile
@@ -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
@@ -21,6 +21,9 @@ post-configure:
./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/
${INSTALL_LIB} ${WRKSRC}/build/php${PHP_VER}.unit.so \
diff --git a/www/unit-python/Makefile b/www/unit-python/Makefile
index ffec25064880..ece5b92ebe9c 100644
--- a/www/unit-python/Makefile
+++ b/www/unit-python/Makefile
@@ -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 \
diff --git a/www/unit-ruby/Makefile b/www/unit-ruby/Makefile
index 6e22d2393703..fcea0dd05a07 100644
--- a/www/unit-ruby/Makefile
+++ b/www/unit-ruby/Makefile
@@ -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
@@ -21,6 +21,9 @@ 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/
${INSTALL_LIB} ${WRKSRC}/build/ruby${RUBY_VER}.unit.so \