summaryrefslogtreecommitdiff
path: root/devel/gnustep/bsd.gnustep.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnustep/bsd.gnustep.mk')
-rw-r--r--devel/gnustep/bsd.gnustep.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/gnustep/bsd.gnustep.mk b/devel/gnustep/bsd.gnustep.mk
index 7ed469358c3e..efbc987e1013 100644
--- a/devel/gnustep/bsd.gnustep.mk
+++ b/devel/gnustep/bsd.gnustep.mk
@@ -193,6 +193,9 @@ RUN_DEPENDS+= ${SYSMAKEDIR}/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT}
do-install:
@(cd ${WRKSRC}; . ${SYSMAKEDIR}/GNUstep.sh; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(BATCH) || defined(CLEAN_ROOT)
+ rm -rf /root/GNUstep
+.endif
.endif