summaryrefslogtreecommitdiff
path: root/irc/ngircd
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-09-01 14:11:52 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-09-01 14:11:52 +0000
commitb9083362fb2f76063c5a568f0a6e793204c55cc0 (patch)
tree8b09b854bab8102a2926483902ba5f5d4eff5771 /irc/ngircd
parentThe rc-script was botched, correct that and bump PORTREVISION. (diff)
Fix build with ident support.
Reported by: Martin Hasenbein <mh@bsd.net>
Notes
Notes: svn path=/head/; revision=117836
Diffstat (limited to 'irc/ngircd')
-rw-r--r--irc/ngircd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile
index f66b9aff0063..449276ccb108 100644
--- a/irc/ngircd/Makefile
+++ b/irc/ngircd/Makefile
@@ -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