summaryrefslogtreecommitdiffstats
path: root/lang/ruby18
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-05-25 00:30:24 +0000
committerknu <knu@FreeBSD.org>2002-05-25 00:30:24 +0000
commit2884cdb3edd5fdef63502de642d9511104ecd552 (patch)
treecafe1bb6c76c22dc2bd3bb1c644937ee8d6d0204 /lang/ruby18
parent72a983671b00e63962c83e889da0a208d10caefc (diff)
downloadFreeBSD-ports-2884cdb3edd5fdef63502de642d9511104ecd552.zip
FreeBSD-ports-2884cdb3edd5fdef63502de642d9511104ecd552.tar.gz
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/ruby18')
-rw-r--r--lang/ruby18/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 6871029..29c4f08 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/
OpenPOWER on IntegriCloud