aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-25 13:39:19 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-25 13:39:19 +0000
commit3eb93ccccba2b8aa18bd49d6938217e26532c043 (patch)
tree8d82d5abe99dfe2f7fcc9cf05568389a020bd07b
parent397d252962020cf179e512ea9161eec3aff055c6 (diff)
downloadports-3eb93ccccba2b8aa18bd49d6938217e26532c043.tar.gz
ports-3eb93ccccba2b8aa18bd49d6938217e26532c043.zip
-rw-r--r--textproc/p5-XML-XML2JSON/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/p5-XML-XML2JSON/Makefile b/textproc/p5-XML-XML2JSON/Makefile
index 3fceef21b9b6..35387c06b72f 100644
--- a/textproc/p5-XML-XML2JSON/Makefile
+++ b/textproc/p5-XML-XML2JSON/Makefile
@@ -16,6 +16,11 @@ LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-XML-LibXML>=1.59:textproc/p5-XML-LibXML
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
# the order of options follows the search order of JSON module by XML::XML2JSON
OPTIONS_MULTI= JSON_BACKEND
OPTIONS_MULTI_JSON_BACKEND= JSON_SYCK JSON_XS JSON JSON_DWIW
@@ -25,10 +30,6 @@ JSON_XS_DESC= Use JSON::XS
JSON_DESC= Use JSON
JSON_DWIW_DESC= Use JSON::DWIW
-NO_ARCH= yes
-USE_PERL5= configure
-USES= perl5
-
JSON_BUILD_DEPENDS= p5-JSON>=0:converters/p5-JSON
JSON_DWIW_BUILD_DEPENDS=p5-JSON-DWIW>=0:converters/p5-JSON-DWIW
JSON_DWIW_RUN_DEPENDS= p5-JSON-DWIW>=0:converters/p5-JSON-DWIW