summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-12-20 21:11:01 +0300
committerAndrei Belov <defan@nginx.com>2018-12-20 21:11:01 +0300
commit604a2f21f1a73e9f183b2b005e517e0647d59827 (patch)
tree24500387577cf2cb18131c70d147d06e9c2473b1
parent5ceb81fd9179920942c3141d80cc46eaa806555a (diff)
downloadunit-604a2f21f1a73e9f183b2b005e517e0647d59827.tar.gz
unit-604a2f21f1a73e9f183b2b005e517e0647d59827.tar.bz2
Packages: fixed unit-go build broken in ed8b1aaefdd1.1.7-1
-rwxr-xr-xpkg/deb/debian.module/rules.in4
-rw-r--r--pkg/rpm/unit.module.spec.in2
2 files changed, 4 insertions, 2 deletions
diff --git a/pkg/deb/debian.module/rules.in b/pkg/deb/debian.module/rules.in
index 22e381fe..299e3937 100755
--- a/pkg/deb/debian.module/rules.in
+++ b/pkg/deb/debian.module/rules.in
@@ -75,9 +75,9 @@ install: build
dh_installlogrotate
%%MODULE_PREINSTALL%%
cd $(BUILDDIR_unit) && \
- DESTDIR=$(INSTALLDIR) make %%MODULE_INSTARGS%%
+ DESTDIR=$(INSTALLDIR) make all %%MODULE_INSTARGS%%
cd $(BUILDDIR_unit_debug) && \
- DESTDIR=$(INSTALLDIR) make %%MODULE_INSTARGS%%
+ DESTDIR=$(INSTALLDIR) make all %%MODULE_INSTARGS%%
binary-indep: build install
dh_testdir
diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in
index 03d4addb..42fd9e1c 100644
--- a/pkg/rpm/unit.module.spec.in
+++ b/pkg/rpm/unit.module.spec.in
@@ -55,6 +55,7 @@ tar --strip-components=1 -zxf %{SOURCE0}
--cc-opt="%{CC_OPT}" \
--debug
./configure %%MODULE_CONFARGS%%
+make all
make %%MODULE_MAKEARGS%%
%{__mv} build build-debug
./configure \
@@ -62,6 +63,7 @@ make %%MODULE_MAKEARGS%%
--modules=%{_libdir}/unit/modules \
--cc-opt="%{CC_OPT}"
./configure %%MODULE_CONFARGS%%
+make all
make %%MODULE_MAKEARGS%%
%{__mv} build build-nodebug