aboutsummaryrefslogtreecommitdiff
path: root/textproc/htdig
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2003-02-02 12:08:56 +0000
committerDoug Barton <dougb@FreeBSD.org>2003-02-02 12:08:56 +0000
commit03814734e579c694c00bce9af559fe3e28b760f8 (patch)
tree4af9864143c1efa687e3b75a38f46cd5c7609cc1 /textproc/htdig
parent163138ea7d312c97afc5f2a0cbaa43042e5c5e14 (diff)
downloadports-03814734e579c694c00bce9af559fe3e28b760f8.tar.gz
ports-03814734e579c694c00bce9af559fe3e28b760f8.zip
Notes
Diffstat (limited to 'textproc/htdig')
-rw-r--r--textproc/htdig/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>