diff -udprN /usr/ports/sysutils/amrstat/Makefile ./Makefile --- /usr/ports/sysutils/amrstat/Makefile 2016-10-21 12:51:40.000000000 +0000 +++ ./Makefile 2017-06-23 00:06:43.883787000 +0000 @@ -15,19 +15,15 @@ PLIST_FILES= etc/periodic/daily/407.stat sbin/amrstat OPTIONS_DEFINE= MEGARC +OPTIONS_SUB= yes MEGARC_DESC= Install LSI megarc binary port -.include - # We may want this for periodic script and to actually be able # to fix something in case amrstat reports degraded RAID. -.if ${PORT_OPTIONS:MMEGARC} -RUN_DEPENDS+= ${LOCALBASE}/sbin/megarc:sysutils/megarc -.endif +MEGARC_RUN_DEPENDS= megarc:sysutils/megarc ALL_TARGET= ${PORTNAME} -LOCALSRCDIR= ${.CURDIR}/files PERIODICSCRIPT= 407.status-amr-raid NO_WRKSUBDIR= yes