diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2021-08-21 19:00:30 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2021-08-21 19:05:52 +0000 |
commit | 87d71875d934c0b5c9a5819ebd47c056a2489c93 (patch) | |
tree | c8163b40e8d9e517a29e6303dc99a1cf308079c7 | |
parent | 9352bd72e0b04fdf32d9c63353aabf1a672936fd (diff) |
www/moodle*: drop ugly xmlrpc dependency hack
It no more needed since Mk/Uses/php.mk have a check for every
supported php version and able to select a right dependency.
With hat: ports-secteam
-rw-r--r-- | www/moodle310/Makefile | 8 | ||||
-rw-r--r-- | www/moodle311/Makefile | 8 | ||||
-rw-r--r-- | www/moodle39/Makefile | 8 |
3 files changed, 3 insertions, 21 deletions
diff --git a/www/moodle310/Makefile b/www/moodle310/Makefile index dbb0e81a805b..1a1f11f3a583 100644 --- a/www/moodle310/Makefile +++ b/www/moodle310/Makefile @@ -16,7 +16,7 @@ CONFLICTS= moodle39-3.9.[0-9]* moodle311-3.11.[0-9]* USES= cpe php:flavors tar:tgz USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \ opcache openssl pcre session simplexml soap spl tokenizer \ - xml xmlreader zip zlib + xml xmlreader xmlrpc zip zlib WRKSRC= ${WRKDIR}/moodle IGNORE_WITH_PHP= 80 @@ -41,12 +41,6 @@ SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata -.include <bsd.port.options.mk> - -.if ${FLAVOR} != php80 -USE_PHP+= xmlrpc -.endif - pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} diff --git a/www/moodle311/Makefile b/www/moodle311/Makefile index 734365754cc6..0107636fd2a0 100644 --- a/www/moodle311/Makefile +++ b/www/moodle311/Makefile @@ -16,7 +16,7 @@ CONFLICTS= moodle39-3.9.[0-9]* moodle310-3.10.[0-9]* USES= cpe php:flavors tar:tgz USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \ opcache openssl pcre session simplexml soap sodium spl tokenizer \ - xml xmlreader zip zlib + xml xmlreader xmlrpc zip zlib WRKSRC= ${WRKDIR}/moodle IGNORE_WITH_PHP= 80 @@ -41,12 +41,6 @@ SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata -.include <bsd.port.options.mk> - -.if ${FLAVOR} != php80 -USE_PHP+= xmlrpc -.endif - pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} diff --git a/www/moodle39/Makefile b/www/moodle39/Makefile index bd24192e522e..8f50a16b79da 100644 --- a/www/moodle39/Makefile +++ b/www/moodle39/Makefile @@ -16,7 +16,7 @@ CONFLICTS= moodle310-3.10.[0-9]* moodle311-3.11.[0-9]* USES= cpe php:flavors tar:tgz USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \ opcache openssl pcre session simplexml soap spl tokenizer \ - xml xmlreader zip zlib + xml xmlreader xmlrpc zip zlib WRKSRC= ${WRKDIR}/moodle IGNORE_WITH_PHP= 80 @@ -41,12 +41,6 @@ SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata -.include <bsd.port.options.mk> - -.if ${FLAVOR} != php80 -USE_PHP+= xmlrpc -.endif - pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} |