aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2016-04-17 18:22:50 +0800
committermatthew <matthew@FreeBSD.org>2016-04-17 18:22:50 +0800
commit5461cc39ece047c2c132bdb905ced2de6852be1a (patch)
tree9c17bfe227e2f2fb8ac299105620ec4f1a5eb6d0
parent63b5242dc0b9d4ce90a0471ba64abcdcf44a743a (diff)
downloadfreebsd-ports-gnome-5461cc39ece047c2c132bdb905ced2de6852be1a.tar.gz
freebsd-ports-gnome-5461cc39ece047c2c132bdb905ced2de6852be1a.tar.zst
freebsd-ports-gnome-5461cc39ece047c2c132bdb905ced2de6852be1a.zip
Actually, on second thoughts, this should be less error prone in
future.
-rw-r--r--www/p5-RTx-Calendar/Makefile6
1 files 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 <bsd.port.options.mk>
-.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