1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Do not create a BSD local hierarchy under ${STAGEDIR}${LINUXBASE} when

USE_LINUX=yes and PREFIX!=LINUXBASE.
This is not needed and creates a bunch of stage orphaned directories.

PR:		ports/184477
Approved by:	portmgr (bapt)
Tested by:	poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 (no error, no orphans)
This commit is contained in:
Antoine Brodin 2013-12-04 17:48:26 +00:00
parent e21bfd517f
commit c617959ef5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335625

View File

@ -28,10 +28,6 @@ stage-dir:
@${MKDIR} ${STAGEDIR}${PREFIX}
.if !defined(NO_MTREE)
@${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null
.if defined(USE_LINUX) && ${PREFIX} != ${LINUXBASE}
@${MKDIR} ${STAGEDIR}${LINUXBASE}
@${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${LINUXBASE} > /dev/null
.endif
.endif
.endif