- libnet creates a shared library now
- bump mysql shared library major rev #
This commit is contained in:
parent
0bfa0b721b
commit
2d40f13625
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2001/02/11 23:51:12 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2001/02/28 14:32:08 brad Exp $
|
||||
|
||||
DISTNAME= snort-1.7
|
||||
HOMEPAGE= http://www.snort.org/
|
||||
CATEGORIES= net security
|
||||
NEED_VERSION= 1.348
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= snort
|
||||
|
||||
HOMEPAGE= http://www.snort.org/
|
||||
|
||||
MAINTAINER= Brian Caswell <bmc@mitre.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -22,28 +22,28 @@ FLAVORS= postgresql mysql smbalert flexresp
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mflexresp}
|
||||
BUILD_DEPENDS+= ${PREFIX}/lib/libnet.a::net/libnet
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
LIB_DEPENDS+= net::net/libnet
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS+= --enable-flexresp
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mpostgresql}
|
||||
LIB_DEPENDS+= pg::databases/postgresql
|
||||
CONFIGURE_ARGS+= --with-postgresql=${PREFIX}/pgsql
|
||||
LIB_DEPENDS+= pg::databases/postgresql
|
||||
CONFIGURE_ARGS+= --with-postgresql="${PREFIX}/pgsql"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-postgresql
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mmysql}
|
||||
LIB_DEPENDS+=mysqlclient.6::databases/mysql
|
||||
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
|
||||
LIB_DEPENDS+= mysqlclient.10::databases/mysql
|
||||
CONFIGURE_ARGS+= --with-mysql="${PREFIX}"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-mysql
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Msmbalert}
|
||||
BUILD_DEPENDS+= smbclient::net/samba
|
||||
RUN_DEPENDS+= smbclient::net/samba
|
||||
BUILD_DEPENDS+= smbclient::net/samba
|
||||
RUN_DEPENDS+= smbclient::net/samba
|
||||
CONFIGURE_ARGS+= --enable-smbalerts
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user