Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2024 09:51:25 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5354435911f8 - main - audio/linux-rl9-alsa-plugins-oss: add check for !empty(WRKDIRPREFIX)
Message-ID:  <202411150951.4AF9pP4C016931@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5354435911f8a3eef76b444ce69eae08e7ceae8a

commit 5354435911f8a3eef76b444ce69eae08e7ceae8a
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-15 09:47:59 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-15 09:47:59 +0000

    audio/linux-rl9-alsa-plugins-oss: add check for !empty(WRKDIRPREFIX)
    
    WRKDIRPREFIX is setted for poudriere/out-of-tree builds
    Set guards for plain build from ports withour WRKDIRPREFIX to prevent delete ${LINUXBASE} structure
    
    Sponsored by:   Future Crew, LLC
---
 audio/linux-rl9-alsa-plugins-oss/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/linux-rl9-alsa-plugins-oss/Makefile b/audio/linux-rl9-alsa-plugins-oss/Makefile
index 144460d9037f..f93086b397f7 100644
--- a/audio/linux-rl9-alsa-plugins-oss/Makefile
+++ b/audio/linux-rl9-alsa-plugins-oss/Makefile
@@ -91,6 +91,8 @@ do-install:
 
 ## Pet poudriere's stage-qa
 post-install:
+.if defined(WRKDIRPREFIX) && !empty(WRKDIRPREFIX)
 	${RM} -r ${LINUXBASE}${WRKDIRPREFIX}
+.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411150951.4AF9pP4C016931>