--- Makefile 2010-09-24 18:51:56.000000000 +0200 +++ Makefile 2010-11-07 11:10:54.000000000 +0100 @@ -26,7 +26,8 @@ POSTGRESQL "Enable PostgreSQL support" off \ PRELUDE "Enable Prelude NIDS integration" off \ PERPROFILE "Enable Performance Profiling" off \ - SNORTSAM "Enable output plugin to SnortSam" off + SNORTSAM "Enable output plugin to SnortSam" off \ + IPV6 "Enable IPv6 support" off USE_RC_SUBR= snort.sh SUB_FILES= pkg-message @@ -131,6 +132,10 @@ PATCHFILES+=snortsam-2.8.6.diff.gz:snortsam .endif +.if defined(WITH_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + post-patch: .if defined(NOPORTDOCS) @${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in