aboutsummaryrefslogtreecommitdiffstats
path: root/lang
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
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')
-rw-r--r--lang/ruby-devel/Makefile2
-rw-r--r--lang/ruby/Makefile2
-rw-r--r--lang/ruby16/Makefile2
-rw-r--r--lang/ruby18/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/lang/ruby-devel/Makefile b/lang/ruby-devel/Makefile
index 68710294f98d..29c4f080acaf 100644
--- a/lang/ruby-devel/Makefile
+++ b/lang/ruby-devel/Makefile
@@ -118,7 +118,7 @@ pre-install:
done
post-install:
-.if ${STRIP} == -s
+.if defined(STRIP) && ${STRIP} == -s
strip ${RUBY}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/ext/dl/h2rb ${PREFIX}/bin/
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}
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}
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 68710294f98d..29c4f080acaf 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -118,7 +118,7 @@ pre-install:
done
post-install:
-.if ${STRIP} == -s
+.if defined(STRIP) && ${STRIP} == -s
strip ${RUBY}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/ext/dl/h2rb ${PREFIX}/bin/