From 6865dddf41722be59b7e978cc1b91d20b8d83d6b Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 2 Feb 2003 12:08:56 +0000 Subject: Fix build in -current --- textproc/htdig/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'textproc/htdig') diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile index 0d410ed1755b..7e7e87c2d6b3 100644 --- a/textproc/htdig/Makefile +++ b/textproc/htdig/Makefile @@ -24,6 +24,12 @@ CONFIGURE_ARGS= --with-cgi-bin-dir=${PREFIX}/share/apache/cgi-bin \ --with-config-dir=${PREFIX}/etc/htdig \ --with-default-config-file=${PREFIX}/etc/htdig/htdig.conf +.include + +.if ${OSVERSION} >= 500037 +CONFIGURE_ENV+= CXXFLAGS=-Wno-deprecated CPPFLAGS=-Wno-deprecated +.endif + BUILD_TARGET= depends all post-patch: @@ -43,4 +49,4 @@ post-patch: post-install: @ ${MV} ${PREFIX}/etc/htdig/htdig.conf ${PREFIX}/etc/htdig/htdig.conf.sample -.include +.include -- cgit