Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 10:22:50 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413502 - head/www/p5-RTx-Calendar
Message-ID:  <201604171022.u3HAMoD0073307@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sun Apr 17 10:22:50 2016
New Revision: 413502
URL: https://svnweb.freebsd.org/changeset/ports/413502

Log:
  Actually, on second thoughts, this should be less error prone in
  future.

Modified:
  head/www/p5-RTx-Calendar/Makefile

Modified: head/www/p5-RTx-Calendar/Makefile
==============================================================================
--- head/www/p5-RTx-Calendar/Makefile	Sun Apr 17 10:21:20 2016	(r413501)
+++ head/www/p5-RTx-Calendar/Makefile	Sun Apr 17 10:22:50 2016	(r413502)
@@ -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
 



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