summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-06 16:46:05 +0000
committerknu <knu@FreeBSD.org>2001-05-06 16:46:05 +0000
commit8ec2e954500c77b3ae828ff330f09e379c1e4518 (patch)
tree9b675f5bf26bc4a9cc383564575d906690526606
parent21a063789d6f72a69423150c5c1321b81bad6511 (diff)
downloadFreeBSD-ports-8ec2e954500c77b3ae828ff330f09e379c1e4518.zip
FreeBSD-ports-8ec2e954500c77b3ae828ff330f09e379c1e4518.tar.gz
Support installing multiple versions of ruby_s. (You'll have ruby16_s
and ruby17_s, and ruby_s as a symlink to either)
-rw-r--r--lang/ruby16_static/Makefile7
-rw-r--r--lang/ruby_static/Makefile7
2 files changed, 8 insertions, 6 deletions
diff --git a/lang/ruby16_static/Makefile b/lang/ruby16_static/Makefile
index 3c16797..be92b26 100644
--- a/lang/ruby16_static/Makefile
+++ b/lang/ruby16_static/Makefile
@@ -19,7 +19,8 @@ USE_RUBY= yes
USE_AUTOCONF= yes
-# Beware, we can't statically link the gdbm module because gdbm is GPL'ed.
+# Beware, you can't statically link Ruby with GPL'ed libraries,
+# which means you can't link such modules as ruby-gdbm within.
EXT_PORTS= archivers/ruby-zlib \
devel/ruby-strscan \
sysutils/ruby-syslog
@@ -63,7 +64,7 @@ do-extract:
for x in *; do [ -d $$x ] && echo $$x >> Setup; done)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY}${_RUBY_SUFFIX}_s
- ${LN} -fs ${RUBY}${_RUBY_SUFFIX}_s ${RUBY}_s
+ ${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
+ ${LN} -fs ${RUBY_WITH_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s
.include <bsd.port.post.mk>
diff --git a/lang/ruby_static/Makefile b/lang/ruby_static/Makefile
index 3c16797..be92b26 100644
--- a/lang/ruby_static/Makefile
+++ b/lang/ruby_static/Makefile
@@ -19,7 +19,8 @@ USE_RUBY= yes
USE_AUTOCONF= yes
-# Beware, we can't statically link the gdbm module because gdbm is GPL'ed.
+# Beware, you can't statically link Ruby with GPL'ed libraries,
+# which means you can't link such modules as ruby-gdbm within.
EXT_PORTS= archivers/ruby-zlib \
devel/ruby-strscan \
sysutils/ruby-syslog
@@ -63,7 +64,7 @@ do-extract:
for x in *; do [ -d $$x ] && echo $$x >> Setup; done)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY}${_RUBY_SUFFIX}_s
- ${LN} -fs ${RUBY}${_RUBY_SUFFIX}_s ${RUBY}_s
+ ${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
+ ${LN} -fs ${RUBY_WITH_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud