Update to 1.3.0.

While here convert to new-style options.
This commit is contained in:
Wesley Shields 2012-06-19 01:38:43 +00:00
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

View file

@ -6,7 +6,7 @@
# #
PORTNAME= libpcap PORTNAME= libpcap
PORTVERSION= 1.2.1 PORTVERSION= 1.3.0
CATEGORIES= net ipv6 CATEGORIES= net ipv6
MASTER_SITES= http://www.tcpdump.org/release/ MASTER_SITES= http://www.tcpdump.org/release/
@ -113,16 +113,25 @@ PLIST_FILES+= bin/pcap-config \
lib/libpcap.so lib/libpcap.so
PLIST_DIRS+= include/pcap 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 CONFIGURE_ARGS+= --enable-ipv6
.endif .endif
.if !defined(WITH_DAG) .if ${PORT_OPTIONS:MDAG}
CONFIGURE_ARGS+= --without-dag
.else
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+= --without-dag
.endif .endif
# Maybe make this into an OPTION?
.if defined(LIBPCAP_OVERWRITE_BASE) .if defined(LIBPCAP_OVERWRITE_BASE)
post-install: post-install:
${CAT} ${PKGMESSAGE} ${CAT} ${PKGMESSAGE}

View file

@ -1,2 +1,2 @@
SHA256 (libpcap-1.2.1.tar.gz) = a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd SHA256 (libpcap-1.3.0.tar.gz) = 41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9
SIZE (libpcap-1.2.1.tar.gz) = 603208 SIZE (libpcap-1.3.0.tar.gz) = 608967