git: 0ccbdfa49b62 - main - x11-toolkits/tk90: respect WITH_DEBUG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Oct 2024 11:57:26 UTC
The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=0ccbdfa49b627315a830cf026936fbe93d3b4c1c commit 0ccbdfa49b627315a830cf026936fbe93d3b4c1c Author: Pietro Cerutti <gahr@FreeBSD.org> AuthorDate: 2024-10-16 11:56:51 +0000 Commit: Pietro Cerutti <gahr@FreeBSD.org> CommitDate: 2024-10-16 11:56:51 +0000 x11-toolkits/tk90: respect WITH_DEBUG --- x11-toolkits/tk90/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/x11-toolkits/tk90/Makefile b/x11-toolkits/tk90/Makefile index 83259a6d9959..24b8eb1ad770 100644 --- a/x11-toolkits/tk90/Makefile +++ b/x11-toolkits/tk90/Makefile @@ -28,7 +28,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${TK_VERSION} WRKSRC_SUBDIR= unix ALL_TARGET= all -INSTALL_TARGET= install-strip install-libraries +INSTALL_TARGET= install-libraries TEST_TARGET= test USES+= tcl:${SHORT_TK_VER},tea xorg @@ -59,6 +59,13 @@ PLIST_SUB= TK_VER=${TK_VER} \ DEMOS_INSTALL_TARGET= install-demos TKMAN_INSTALL_TARGET= install-doc +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+=--enable-symbols +INSTALL_TARGET+=install +.else +INSTALL_TARGET+=install-strip +.endif + post-patch: ${REINPLACE_CMD} \ -e 's|libtkstub.a|libtkstub${TK_VER}.a|' \