svn commit: r559493 - in head/www: moodle310 moodle35 moodle38 moodle39

Dima Panov fluffy at FreeBSD.org
Mon Dec 28 15:49:04 UTC 2020


Author: fluffy
Date: Mon Dec 28 15:49:02 2020
New Revision: 559493
URL: https://svnweb.freebsd.org/changeset/ports/559493

Log:
  www/moodle3*: unbreak build with php80
  
  Drop abandonware xmlrpc dependency with php80
  
  PHP80 was introduced more than two month ago,
  maintainer had more than enough time to react and fix the port
  
  With hat:	ports-secteam

Modified:
  head/www/moodle310/Makefile
  head/www/moodle35/Makefile
  head/www/moodle38/Makefile
  head/www/moodle39/Makefile

Modified: head/www/moodle310/Makefile
==============================================================================
--- head/www/moodle310/Makefile	Mon Dec 28 15:44:44 2020	(r559492)
+++ head/www/moodle310/Makefile	Mon Dec 28 15:49:02 2020	(r559493)
@@ -18,7 +18,7 @@ CONFLICTS=	moodle35-3.5.[0-9]* moodle37-3.7.[0-9]* moo
 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 xmlrpc zip zlib
+		xml xmlreader zip zlib
 WRKSRC=		${WRKDIR}/moodle
 
 OPTIONS_SINGLE=		BACKEND
@@ -40,6 +40,12 @@ 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}

Modified: head/www/moodle35/Makefile
==============================================================================
--- head/www/moodle35/Makefile	Mon Dec 28 15:44:44 2020	(r559492)
+++ head/www/moodle35/Makefile	Mon Dec 28 15:49:02 2020	(r559493)
@@ -21,7 +21,7 @@ EXPIRATION_DATE=2021-03-03
 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 xmlrpc zip zlib
+		xml xmlreader zip zlib
 WRKSRC=		${WRKDIR}/moodle
 
 OPTIONS_SINGLE=		BACKEND
@@ -45,6 +45,12 @@ 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}

Modified: head/www/moodle38/Makefile
==============================================================================
--- head/www/moodle38/Makefile	Mon Dec 28 15:44:44 2020	(r559492)
+++ head/www/moodle38/Makefile	Mon Dec 28 15:49:02 2020	(r559493)
@@ -21,7 +21,7 @@ EXPIRATION_DATE=2021-03-03
 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 xmlrpc zip zlib
+		xml xmlreader zip zlib
 WRKSRC=		${WRKDIR}/moodle
 
 OPTIONS_SINGLE=		BACKEND
@@ -43,6 +43,12 @@ 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}

Modified: head/www/moodle39/Makefile
==============================================================================
--- head/www/moodle39/Makefile	Mon Dec 28 15:44:44 2020	(r559492)
+++ head/www/moodle39/Makefile	Mon Dec 28 15:49:02 2020	(r559493)
@@ -18,7 +18,7 @@ CONFLICTS=	moodle35-3.5.[0-9]* moodle37-3.7.[0-9]* moo
 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 xmlrpc zip zlib
+		xml xmlreader zip zlib
 WRKSRC=		${WRKDIR}/moodle
 
 OPTIONS_SINGLE=		BACKEND
@@ -40,6 +40,12 @@ 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}


More information about the svn-ports-all mailing list