pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fusionpbx: Fix include order for php.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Fri Dec 14 16:48:46 2018 +0100
Changeset:	aba0f79793c72f971c6949ce1e59e8bc1df49586

Modified Files:
	fusionpbx/Makefile
Added Files:
	fusionpbx/TODO

Log Message:
fusionpbx: Fix include order for php.

Add a TODO noting the distfile is unfetchable.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=aba0f79793c72f971c6949ce1e59e8bc1df49586

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 fusionpbx/Makefile | 5 +++--
 fusionpbx/TODO     | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/fusionpbx/Makefile b/fusionpbx/Makefile
index 5485f8b584..872fb0fa43 100644
--- a/fusionpbx/Makefile
+++ b/fusionpbx/Makefile
@@ -39,7 +39,9 @@ DEPENDS+=	${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
 DEPENDS+=	${PHP_PKG_PREFIX}-pgsql-[0-9]*:../../databases/php-pgsql
 DEPENDS+=	${PHP_PKG_PREFIX}-sockets-[0-9]*:../../net/php-sockets
 
-.if (${PHP_VERSION_DEFAULT} == "56")
+.include "../../lang/php/common.mk"
+
+.if ${PHP_VERSION_DEFAULT} == "56"
 DEPENDS+=	${PHP_PKG_PREFIX}-memcache-[0-9]*:../../devel/php-memcache
 DEPENDS+=	${PHP_PKG_PREFIX}-memcached-[0-9]*:../../devel/php-memcached
 .endif
@@ -49,6 +51,5 @@ do-install:
 
 .include "../../mk/pgsql.buildlink3.mk"
 .include "../../databases/php-pdo/buildlink3.mk"
-.include "../../lang/php/common.mk"
 .include "../../devel/libmemcached/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/fusionpbx/TODO b/fusionpbx/TODO
new file mode 100644
index 0000000000..8b4b03aa0d
--- /dev/null
+++ b/fusionpbx/TODO
@@ -0,0 +1 @@
+Distfile is unfetchable.


Home | Main Index | Thread Index | Old Index