Index: head/net/fping/Makefile =================================================================== --- head/net/fping/Makefile (revision 504584) +++ head/net/fping/Makefile (revision 504585) @@ -1,34 +1,35 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= fping PORTVERSION= 4.2 DISTVERSIONPREFIX= v CATEGORIES= net ipv6 MAINTAINER= jharris@widomaker.com COMMENT= Quickly ping multiple hosts without flooding the network LICENSE= PreviousBSD LICENSE_GROUPS= FSF LICENSE_NAME= Previous BSD License LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= autoreconf gmake USE_GITHUB= yes GH_ACCOUNT= schweikert GNU_CONFIGURE= yes CONFIGURE_ARGS= --bindir="${PREFIX}/sbin" \ --enable-ipv4 INSTALL_TARGET= install-strip -OPTIONS_DEFINE=IPV6 +OPTIONS_DEFINE= IPV6 +OPTIONS_SUB= yes IPV6_CONFIGURE_OFF=--disable-ipv6 -post-install: +post-install-IPV6-on: ${RLN} ${STAGEDIR}${PREFIX}/sbin/fping ${STAGEDIR}${PREFIX}/sbin/fping6 ${RLN} ${STAGEDIR}${PREFIX}/man/man8/fping.8 ${STAGEDIR}${PREFIX}/man/man8/fping6.8 .include Index: head/net/fping/files/patch-src_fping.c =================================================================== --- head/net/fping/files/patch-src_fping.c (nonexistent) +++ head/net/fping/files/patch-src_fping.c (revision 504585) @@ -0,0 +1,11 @@ +--- src/fping.c.orig 2019-02-19 20:54:45 UTC ++++ src/fping.c +@@ -427,7 +427,7 @@ int main(int argc, char** argv) + while ((c = optparse_long(&optparse_state, longopts, NULL)) != EOF) { + switch (c) { + case '4': +- if (hints_ai_family != AF_UNSPEC) { ++ if (hints_ai_family == AF_INET6) { + fprintf(stderr, "%s: can't specify both -4 and -6\n", prog); + exit(1); + } Property changes on: head/net/fping/files/patch-src_fping.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/fping/pkg-plist =================================================================== --- head/net/fping/pkg-plist (revision 504584) +++ head/net/fping/pkg-plist (revision 504585) @@ -1,6 +1,6 @@ @mode 4555 sbin/fping -sbin/fping6 +%%IPV6%%sbin/fping6 @mode man/man8/fping.8.gz -man/man8/fping6.8.gz +%%IPV6%%man/man8/fping6.8.gz