aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.incs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk
index 2546dfdd8df8..9d614be4a2a9 100644
--- a/share/mk/bsd.incs.mk
+++ b/share/mk/bsd.incs.mk
@@ -97,10 +97,10 @@ buildincludes: stage_files
.if !empty(STAGE_AS_SETS)
buildincludes: stage_as
.endif
+.endif
.if !empty(INCSLINKS)
stage_files: stage_symlinks
-STAGE_SYMLINKS.INCS= ${INCSLINKS:S,${INCSDIR}/,,}
-.endif
+STAGE_SYMLINKS.INCS= ${INCSLINKS}
.endif
.endif
.endif