Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2012 21:06:33 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306821 - head/net/bwping
Message-ID:  <201211012106.qA1L6XFx076279@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Thu Nov  1 21:06:32 2012
New Revision: 306821
URL: http://svn.freebsd.org/changeset/ports/306821

Log:
  - Fix tinderbox build by adding IPV6 option to explicitly
    enable or disable IPV6 support.  Previous behavior was
    auto-detection which wasn't working right on tinderbox
    and would have caused problems anyways.
  
  Reported by:	pointyhat
  Approved by:	maintainer via private mail
  		makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/net/bwping/Makefile

Modified: head/net/bwping/Makefile
==============================================================================
--- head/net/bwping/Makefile	Thu Nov  1 19:27:47 2012	(r306820)
+++ head/net/bwping/Makefile	Thu Nov  1 21:06:32 2012	(r306821)
@@ -12,11 +12,24 @@ LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
-MAN8=		bwping.8 bwping6.8
+MAN8=		bwping.8
 
-PLIST_FILES=	sbin/bwping sbin/bwping6
+PLIST_FILES=	sbin/bwping
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIPV6}
+CONFIGURE_ENV+=	ac_cv_ipv6=yes
+MAN8+=		bwping6.8
+PLIST_FILES+=	sbin/bwping6
+.else
+CONFIGURE_ENV+=	ac_cv_ipv6=no
+.endif
 
 post-install:
-	@${CHMOD} 4555 ${PREFIX}/sbin/bwping ${PREFIX}/sbin/bwping6
+	@${CHMOD} 4555 ${PREFIX}/sbin/bwping
+.if ${PORT_OPTIONS:MIPV6}
+	@${CHMOD} 4555 ${PREFIX}/sbin/bwping6
+.endif
 
 .include <bsd.port.mk>



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