diff -ruN --exclude=CVS /usr/ports/net/nepenthes/Makefile /data2/FreeBSD/custom_ports/security/nepenthes/Makefile --- /usr/ports/net/nepenthes/Makefile Fri Aug 4 16:04:13 2006 +++ /data2/FreeBSD/custom_ports/security/nepenthes/Makefile Fri Oct 20 15:34:47 2006 @@ -7,7 +7,7 @@ PORTNAME= nepenthes PORTVERSION= 0.1.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nepenthes @@ -19,6 +19,12 @@ magic.1:${PORTSDIR}/sysutils/file \ pcre.0:${PORTSDIR}/devel/pcre \ adns.1:${PORTSDIR}/dns/adns + +.if defined(WITH_PRELUDE) +LIB_DEPENDS+= prelude.10:${PORTSDIR}/security/libprelude +CONFIGURE_ARGS+= --enable-prelude +EXTRA_PATCHES= ${FILESDIR}/prelude_modules_log-prelude_Makefile.in.patch +.endif USE_PERL5= yes GNU_CONFIGURE= yes diff -ruN --exclude=CVS /usr/ports/net/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch /data2/FreeBSD/custom_ports/security/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch --- /usr/ports/net/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch Thu Jan 1 01:00:00 1970 +++ /data2/FreeBSD/custom_ports/security/nepenthes/files/prelude_modules_log-prelude_Makefile.in.patch Fri Oct 20 15:35:12 2006 @@ -0,0 +1,11 @@ +--- modules/log-prelude/Makefile.in.orig Sun Apr 23 19:49:07 2006 ++++ modules/log-prelude/Makefile.in Fri Oct 20 15:01:06 2006 +@@ -195,7 +195,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + AUTOMAKE_OPTIONS = foreign +-AM_CPPFLAGS = -I/usr/include/libprelude -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE ++AM_CPPFLAGS = -I/usr/local/include/libprelude -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE + AM_CXXFLAGS = -Wall + AM_LDFLAGS = + pkglib_LTLIBRARIES = logprelude.la