diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-05-17 01:36:54 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-05-17 01:36:54 +0000 |
commit | 1d8d051a26199697759bfd268752748347113a95 (patch) | |
tree | 43d1bdb9d17aa1f60c3966cae528ce36ef860202 | |
parent | - Update to 2.0.7 (diff) |
- add Performance Profiling option
- bump PORTREVISION
PR: by mail
Submitted by: Scott MacGregor <shadowbq_AT_gmail dot com>
Notes
Notes:
svn path=/head/; revision=213181
-rw-r--r-- | security/snort/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile index c18c9a8ce2a5..72e1ee94b166 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -7,6 +7,7 @@ PORTNAME= snort PORTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.snort.org/dl/current/ @@ -23,7 +24,8 @@ OPTIONS= DYNAMIC "Enable dynamic plugin support" on \ MYSQL "Enable MySQL support" off \ ODBC "Enable ODBC support" off \ POSTGRESQL "Enable PostgreSQL support" off \ - PRELUDE "Enable Prelude NIDS integration" off + PRELUDE "Enable Prelude NIDS integration" off \ + PERPROFILE "Enable Performance Profiling" off USE_RC_SUBR= snort.sh SUB_FILES= pkg-message @@ -124,6 +126,10 @@ CONFIGURE_ARGS+= --disable-prelude PLIST_SUB+= PRELUDE="@comment " .endif +.if defined(WITH_PERPROFILE) +CONFIGURE_ARGS+= --enable-perfprofiling +.endif + post-patch: ${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \ 's|lib/snort_|lib/snort/|g' |