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
This commit is contained in:
Dima Panov
2024-11-15 12:47:59 +03:00
parent c739e7b86a
commit 5354435911
@@ -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>