1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix build with ident support.

Reported by:	Martin Hasenbein <mh@bsd.net>
This commit is contained in:
Kirill Ponomarev 2004-09-01 14:11:52 +00:00
parent 35a44a7b7e
commit b9083362fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117836

View File

@ -7,6 +7,7 @@
PORTNAME= ngircd
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://download.berlios.de/ngircd/ \
ftp://ftp.berlios.de/pub/ngircd/
@ -16,6 +17,8 @@ COMMENT= Free open source daemon for Internet Relay Chat (IRC)
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.if exists(/usr/include/tcpd.h)
WITH_TCP_WRAPPERS= yes
@ -23,6 +26,7 @@ CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
.if defined(WITH_IDENT)
LIB_DEPENDS+= ident.0:${PORTSDIR}/security/libident
CONFIGURE_ARGS+= --with-ident
.endif