Configure with debug symbols if DEBUG is set

OK gonzalo
This commit is contained in:
kn 2019-05-19 13:14:56 +00:00
parent a24793e9ad
commit de1afefbb6

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.45 2019/05/19 11:26:25 naddy Exp $
# $OpenBSD: Makefile,v 1.46 2019/05/19 13:14:56 kn Exp $
COMMENT = high-performance HTTP accelerator
@ -47,6 +47,10 @@ CONFIGURE_ARGS = --with-rst2man=rst2man${MODPY_BIN_SUFFIX} \
TEST_TARGET = check
.ifdef DEBUG
CONFIGURE_ARGS += --enable-debugging-symbols
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/varnish
${INSTALL_DATA} ${WRKDIST}${SYSCONFDIR}/{example,builtin}.vcl \