diff options
author | Andrei Belov <defan@nginx.com> | 2018-01-22 16:39:31 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-01-22 16:39:31 +0300 |
commit | be8df0631a6fa4e5afa8c03ed5b84cec72da20d4 (patch) | |
tree | 756001955deac1252d1890cae951d397a502103d /pkg/deb/Makefile.php | |
parent | d1f29ed77edd5833d1e84f20ed7032377d5de960 (diff) | |
download | unit-be8df0631a6fa4e5afa8c03ed5b84cec72da20d4.tar.gz unit-be8df0631a6fa4e5afa8c03ed5b84cec72da20d4.tar.bz2 |
Packages: improved per-module dependency tracking.
Diffstat (limited to 'pkg/deb/Makefile.php')
-rw-r--r-- | pkg/deb/Makefile.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/deb/Makefile.php b/pkg/deb/Makefile.php index 305bd970..492e88fd 100644 --- a/pkg/deb/Makefile.php +++ b/pkg/deb/Makefile.php @@ -14,15 +14,17 @@ MODULE_SOURCES_php= unit.example-php-app \ unit.example-php-config ifneq (,$(findstring $(CODENAME),trusty jessie)) -BUILD_DEPENDS+= php5-dev libphp5-embed +BUILD_DEPENDS_php= php5-dev libphp5-embed MODULE_BUILD_DEPENDS_php=,php5-dev,libphp5-embed MODULE_DEPENDS_php=,libphp5-embed else -BUILD_DEPENDS+= php-dev libphp-embed +BUILD_DEPENDS_php= php-dev libphp-embed MODULE_BUILD_DEPENDS_php=,php-dev,libphp-embed MODULE_DEPENDS_php=,libphp-embed endif +BUILD_DEPENDS+= $(BUILD_DEPENDS_php) + define MODULE_PREINSTALL_php mkdir -p debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app install -m 644 -p debian/unit.example-php-app debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app/index.php |