1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

net/pjsip: Unbreak IPV6 option

- Do not set IPV6_CFLAGS twice
- Turn off IPv6 support when the option is off

Differential Revision:	https://reviews.freebsd.org/D22693
This commit is contained in:
Tobias Kortkamp 2019-12-13 07:23:00 +00:00
parent 4157b0feec
commit d6cad15eb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520006

View File

@ -2,7 +2,7 @@
PORTNAME= pjsip
PORTVERSION= 2.9
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.pjsip.org/release/${PORTVERSION}/
DISTNAME= pjproject-${DISTVERSION}
@ -66,9 +66,8 @@ GSM_CONFIGURE_ENABLE= gsm-codec
GSM_CONFIGURE_ON= --with-external-gsm
GSM_LIB_DEPENDS= libgsm.so:audio/gsm
ILBC_CONFIGURE_ENABLE= ilbc-codec
IPV6_CFLAGS= "-DPJ_HAS_IPV6=1"
IPV6_CFLAGS= -DPJ_HAS_IPV6=1
IPV6_CFLAGS_OFF= -DPJ_HAS_IPV6=1
IPV6_CFLAGS_OFF= -DPJ_HAS_IPV6=0
L16_CONFIGURE_ENABLE= l16-codec
OPENH264_CONFIGURE_ENABLE= openh264
OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264