Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 15:49:03 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559493 - in head/www: moodle310 moodle35 moodle38 moodle39
Message-ID:  <202012281549.0BSFn3JO065300@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012281549.0BSFn3JO065300>