mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 1.3.0.
While here convert to new-style options.
This commit is contained in:
parent
705825bd69
commit
b636db25a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299596
2 changed files with 16 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= libpcap
|
||||
PORTVERSION= 1.2.1
|
||||
PORTVERSION= 1.3.0
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.tcpdump.org/release/
|
||||
|
||||
|
@ -113,16 +113,25 @@ PLIST_FILES+= bin/pcap-config \
|
|||
lib/libpcap.so
|
||||
PLIST_DIRS+= include/pcap
|
||||
|
||||
.if !defined(WITHOUT_IPV6)
|
||||
OPTIONS_DEFINE= DAG IPV6
|
||||
|
||||
DAG_DESC= Support for Endace DAG hardware
|
||||
|
||||
OPTIONS_DEFAULT= IPV6
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIPV6}
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_DAG)
|
||||
CONFIGURE_ARGS+= --without-dag
|
||||
.else
|
||||
.if ${PORT_OPTIONS:MDAG}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-dag
|
||||
.endif
|
||||
|
||||
# Maybe make this into an OPTION?
|
||||
.if defined(LIBPCAP_OVERWRITE_BASE)
|
||||
post-install:
|
||||
${CAT} ${PKGMESSAGE}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libpcap-1.2.1.tar.gz) = a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd
|
||||
SIZE (libpcap-1.2.1.tar.gz) = 603208
|
||||
SHA256 (libpcap-1.3.0.tar.gz) = 41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9
|
||||
SIZE (libpcap-1.3.0.tar.gz) = 608967
|
||||
|
|
Loading…
Add table
Reference in a new issue