aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby/Makefile')
-rw-r--r--lang/ruby/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index d7fbb038430a..d2da2e936ad9 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -103,7 +103,7 @@ pre-install:
done
post-install:
-.if ${STRIP} == -s
+.if defined(STRIP) && ${STRIP} == -s
strip ${RUBY}
.endif
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}