diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-04 14:54:32 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-04 14:54:32 +0000 |
commit | a2bd9f0603548fc183077bc36dab01954e7942ee (patch) | |
tree | deae73d7c7ad24b58a903119132df64f1ece6319 /lang/ruby_static/Makefile | |
parent | 89d8b2e400bd4a2fd7f181c0f3561664820e1dbd (diff) | |
download | ports-a2bd9f0603548fc183077bc36dab01954e7942ee.tar.gz ports-a2bd9f0603548fc183077bc36dab01954e7942ee.zip |
Notes
Diffstat (limited to 'lang/ruby_static/Makefile')
-rw-r--r-- | lang/ruby_static/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/ruby_static/Makefile b/lang/ruby_static/Makefile index be92b2620aae..285cc7330c7d 100644 --- a/lang/ruby_static/Makefile +++ b/lang/ruby_static/Makefile @@ -41,9 +41,16 @@ CONFIGURE_ENV= XLDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS!= cd ${_RUBY_PORTDIR} && ${MAKE} -V CONFIGURE_ARGS CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N--enable-shared:M-*} \ --with-static-linked-ext=yes \ - --with-libc_r=no \ --with-opt-dir="${LOCALBASE}" +.if ${RUBY_VER} == ${RUBY_DEFAULT_VER} +IF_DEFAULT= "" +.else +IF_DEFAULT= "@comment " +.endif + +PLIST_SUB+= IF_DEFAULT=${IF_DEFAULT} + do-fetch: @${DO_NADA} @@ -65,6 +72,8 @@ do-extract: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s - ${LN} -fs ${RUBY_WITH_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s +.if ${RUBY_VER} == ${RUBY_DEFAULT_VER} + ${LN} -fs ruby${_RUBY_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s +.endif .include <bsd.port.post.mk> |