summaryrefslogtreecommitdiff
path: root/security/nessus-libraries/Makefile
blob: a1e731cd66bf0d30948efd22382c3be5e28e5749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.3 2001/02/17 17:49:54 wiz Exp $
#

DISTNAME=	nessus-libraries-${VERS}
.include 	"../nessus/Makefile.common"

COMMENT=	Libs required by the Nessus Network security scanner

USE_LIBTOOL=		yes
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig \
			${WRKSRC}/libpeks/ltconfig \
			${WRKSRC}/libpeks/gmp3/ltconfig

# The detection of the gmp library from pkgsrc does unfortunatly not
# work. Feel free to tweak the configure script of nessus-library to
# make it find our gmp libs, I was just not able to make it work. -TF
#DEPENDS+=	gmp-*:../../devel/gmp

WRKSRC=		${WRKDIR}/nessus-libraries

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CPP=${CPP}
CONFIGURE_ARGS+=--enable-zlib=/usr/lib
# add this to CONFIGURE_ARGS once gmp detection from pkgsrc works. -TF
#--enable-gmp=${LOCALBASE} \
#--enable-staticgmp=no

# this is needed at least for 1.5_ALPHA as for some reason the configure
# script of nessus-libraries is not able to detect our sys/socket.h. -TF
post-configure:
	${ECHO} "#define HAVE_SYS_SOCKET_H 1" >> ${WRKSRC}/include/config.h
	${ECHO} "#define HAVE_SYS_SOCKET_H 1" >> ${WRKSRC}/libpeks/peks-config.h

.include "../../mk/bsd.pkg.mk"