1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Fix packaging with WITH_DEBUG defined

PR:		225282
Reported by:	Phillip R. Jaenke <prj@rootwyrm.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-01-21 09:00:19 +00:00
parent 490d2d05dc
commit 8935b094b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459575

View File

@ -23,6 +23,9 @@ PORTEXAMPLES= *
GH_ACCOUNT= leethomason
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e '/CMAKE_DEBUG_POSTFIX/d' ${WRKSRC}/CMakeLists.txt
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/