diff options
author | dougb <dougb@FreeBSD.org> | 2003-02-02 20:08:56 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2003-02-02 20:08:56 +0800 |
commit | 6865dddf41722be59b7e978cc1b91d20b8d83d6b (patch) | |
tree | 4c46ec9200442b69abc217f2b31ae1afdcea378c /textproc/htdig | |
parent | d8f13795ad5320b62d9c5758d18cafd631dbeac1 (diff) | |
download | freebsd-ports-gnome-6865dddf41722be59b7e978cc1b91d20b8d83d6b.tar.gz freebsd-ports-gnome-6865dddf41722be59b7e978cc1b91d20b8d83d6b.tar.zst freebsd-ports-gnome-6865dddf41722be59b7e978cc1b91d20b8d83d6b.zip |
Fix build in -current
Diffstat (limited to 'textproc/htdig')
-rw-r--r-- | textproc/htdig/Makefile | 8 |
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> |