Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 18:10:44 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382335 - head/net/netembryo
Message-ID:  <201503261810.t2QIAiMJ007555@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Mar 26 18:10:43 2015
New Revision: 382335
URL: https://svnweb.freebsd.org/changeset/ports/382335
QAT: https://qat.redports.org/buildarchive/r382335/

Log:
  net/netembryo: Add 2 new options, SCTP and IPv6
  
  DragonFly does not support SCTP.  This was detected fine in the configure
  script, but check-plist failed due to an SCTP file that didn't get
  installed.  The configure script takes options for SCTP and IPv6, so turn
  those into options.  Use the brand-new OPTIONS_EXCLUDE_DragonFly feature
  to allow SCTP to be on by default for FreeBSD and not even an option for
  DragonFly.

Modified:
  head/net/netembryo/Makefile
  head/net/netembryo/pkg-plist

Modified: head/net/netembryo/Makefile
==============================================================================
--- head/net/netembryo/Makefile	Thu Mar 26 18:03:54 2015	(r382334)
+++ head/net/netembryo/Makefile	Thu Mar 26 18:10:43 2015	(r382335)
@@ -3,7 +3,7 @@
 
 PORTNAME=	netembryo
 PORTVERSION=	0.1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=		${MASTER_SITE_LOCAL} \
 			http://pkgs.fedoraproject.org/repo/pkgs/netembryo/netembryo-0.1.1.tar.bz2/d5a3c96b37fe3e4fb1c49df1f7a4a16f/ \
@@ -15,8 +15,14 @@ COMMENT=	Network abstraction library
 
 LICENSE=	LGPL21
 
-OPTIONS_DEFINE=	OPENSSL
-OPTIONS_DEFAULT=OPENSSL
+OPTIONS_DEFINE=		OPENSSL SCTP IPV6
+OPTIONS_DEFAULT=	OPENSSL SCTP
+OPTIONS_SUB=		yes
+SCTP_DESC=		Stream Control Transmission Protocol support
+
+OPTIONS_EXCLUDE_DragonFly=	SCTP
+IPV6_CONFIGURE_ENABLE=		ipv6
+SCTP_CONFIGURE_ENABLE=		sctp
 
 USES=		gmake libtool pathfix pkgconfig tar:bzip2
 USE_GNOME=	glib20

Modified: head/net/netembryo/pkg-plist
==============================================================================
--- head/net/netembryo/pkg-plist	Thu Mar 26 18:03:54 2015	(r382334)
+++ head/net/netembryo/pkg-plist	Thu Mar 26 18:10:43 2015	(r382335)
@@ -7,4 +7,4 @@ lib/libnetembryo.so
 lib/libnetembryo.so.9
 lib/libnetembryo.so.9.0.0
 libdata/pkgconfig/libnetembryo.pc
-libdata/pkgconfig/libnetembryo-sctp.pc
+%%SCTP%%libdata/pkgconfig/libnetembryo-sctp.pc



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