aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby16/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-05-25 08:30:24 +0800
committerknu <knu@FreeBSD.org>2002-05-25 08:30:24 +0800
commit2884cdb3edd5fdef63502de642d9511104ecd552 (patch)
treecafe1bb6c76c22dc2bd3bb1c644937ee8d6d0204 /lang/ruby16/Makefile
parent72a983671b00e63962c83e889da0a208d10caefc (diff)
downloadfreebsd-ports-gnome-2884cdb3edd5fdef63502de642d9511104ecd552.tar.gz
freebsd-ports-gnome-2884cdb3edd5fdef63502de642d9511104ecd552.tar.zst
freebsd-ports-gnome-2884cdb3edd5fdef63502de642d9511104ecd552.zip
Make sure STRIP is defined before referencing the value. STRIP can be
undefined when DEBUG_FLAGS is defined. Submitted by: Dave Cornejo <dave@dogwood.com>, Joshua Goodall <joshua@roughtrade.net>
Diffstat (limited to 'lang/ruby16/Makefile')
-rw-r--r--lang/ruby16/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index d7fbb038430a..d2da2e936ad9 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/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}