1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

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.
This commit is contained in:
John Marino 2015-03-26 18:10:43 +00:00
parent 22f641b08b
commit 639bdf6a36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382335
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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