From 90cb2274b803067398024b1406f37ced3851a75d Mon Sep 17 00:00:00 2001 From: Matthew Seaman Date: Sun, 17 Apr 2016 10:22:50 +0000 Subject: [PATCH] Actually, on second thoughts, this should be less error prone in future. --- www/p5-RTx-Calendar/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/p5-RTx-Calendar/Makefile b/www/p5-RTx-Calendar/Makefile index 7b86c83a436f..20e618065854 100644 --- a/www/p5-RTx-Calendar/Makefile +++ b/www/p5-RTx-Calendar/Makefile @@ -32,9 +32,9 @@ OPTIONS_DEFAULT= RT44 .include -.for opt in 40 42 44 -.if ${PORT_OPTIONS:MRT${opt}} -RT_VER= ${opt} +.for opt in ${OPTIONS_SINGLE_RTVERSION} +.if ${PORT_OPTIONS:M${opt}} +RT_VER= ${opt:S/RT//} .endif .endfor