1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

use USE_CSTD instead of manually setting CFLAGS

This commit is contained in:
Oliver Lehmann 2012-12-21 06:39:49 +00:00
parent 12ffc54bb2
commit aee18f1005
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309342

View File

@ -21,7 +21,7 @@ MAN5= oidentd.conf.5 oidentd_masq.conf.5
MAN8= oidentd.8
PLIST_FILES= sbin/oidentd etc/oidentd.conf.sample \
etc/oidentd_masq.conf.sample
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -std=gnu89"
USE_CSTD= gnu89
OPTIONS= IPV6 "Enable IPv6 support" on \
MASQ "Enable NAT/IP masq support" on
@ -31,7 +31,7 @@ OPTIONS= IPV6 "Enable IPv6 support" on \
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--disable-ipv6
.else
CATEGORIES+= ipv6
CATEGORIES+= ipv6
.endif
.if defined(WITHOUT_MASQ) || ${OSVERSION} >= 800000