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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user