Index: Makefile =================================================================== --- Makefile (revision 533989) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= monitoring-plugins PORTVERSION= 2.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net-mgmt MASTER_SITES= https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME} @@ -65,9 +65,13 @@ ac_cv_path_PATH_TO_PING=/sbin/ping \ ac_cv_path_PATH_TO_PING6=/sbin/ping6 \ --with-ping-command="/sbin/ping -n -t %d -c %d %s" \ - --with-ping6-command="/sbin/ping6 -n -X %d -c %d %s" \ ac_cv_path_PATH_TO_SUDO=${LOCALBASE}/bin/sudo \ ac_cv_path_PATH_TO_SMBCLIENT=${LOCALBASE}/bin/smbclient +.if ${OSREL:R} < 13 +CONFIGURE_ARGS+= --with-ping6-command="/sbin/ping6 -n -X %d -c %d %s" +.else +CONFIGURE_ARGS+= --with-ping6-command="/sbin/ping6 -n -t %d -c %d %s" +.endif CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib