From 03814734e579c694c00bce9af559fe3e28b760f8 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sun, 2 Feb 2003 12:08:56 +0000 Subject: [PATCH] Fix build in -current --- textproc/htdig/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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