diff options
author | taca <taca@pkgsrc.org> | 2005-11-02 07:44:24 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-11-02 07:44:24 +0000 |
commit | baabfeeeb213339a04cf853a2141addec00ef229 (patch) | |
tree | 4aa03cf316d98c172d0fb9bee985f08bca3a8085 /lang/ruby | |
parent | c064883f3d0b371ef556a49d25e7c0b6fad6c9e4 (diff) | |
download | pkgsrc-baabfeeeb213339a04cf853a2141addec00ef229.tar.gz |
Replace LOCALBASE with PREFIX.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/modules.mk | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk index 0b7aa111c83..861d04cd8ca 100644 --- a/lang/ruby/modules.mk +++ b/lang/ruby/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.11 2005/10/16 15:09:46 taca Exp $ +# $NetBSD: modules.mk,v 1.12 2005/11/02 07:44:24 taca Exp $ .if !defined(_RUBY_MODULE_MK) _RUBY_MODULE_MK= # defined @@ -31,7 +31,7 @@ CONFIGURE_ENV+= RUBY=${RUBY} RDOC=${RDOC} RUBY_EXTCONF?= extconf.rb INSTALL_TARGET?= site-install -CONFIGURE_ARGS+= --with-opt-dir="${LOCALBASE}" +CONFIGURE_ARGS+= --with-opt-dir="${PREFIX}" RUBY_EXTCONF_CHECK?= yes RUBY_EXTCONF_MAKEFILE?= Makefile @@ -141,20 +141,20 @@ ruby-simple-install: .include "replace.mk" PRINT_PLIST_AWK+= /^@dirrm lib\/ruby$$/ { next; } -PRINT_PLIST_AWK+= /^@dirrm ${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \ +PRINT_PLIST_AWK+= /^@dirrm ${RUBY_SITELIBDIR:S|${PREFIX}/||:S|/|\\/|g}$$/ \ { next; } -PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \ - { gsub(/${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_SITELIBDIR}"); \ +PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_SITELIBDIR:S|${PREFIX}/||:S|/|\\/|g}/ \ + { gsub(/${RUBY_SITELIBDIR:S|${PREFIX}/||:S|/|\\/|g}/, "$${RUBY_SITELIBDIR}"); \ print; next; } -PRINT_PLIST_AWK+= /^@dirrm ${RUBY_DOCDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \ +PRINT_PLIST_AWK+= /^@dirrm ${RUBY_DOCDIR:S|${PREFIX}/||:S|/|\\/|g}$$/ \ { next; } -PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_DOCDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \ - { gsub(/${RUBY_DOCDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_DOCDIR}"); \ +PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_DOCDIR:S|${PREFIX}/||:S|/|\\/|g}/ \ + { gsub(/${RUBY_DOCDIR:S|${PREFIX}/||:S|/|\\/|g}/, "$${RUBY_DOCDIR}"); \ print; next; } -PRINT_PLIST_AWK+= /^@dirrm ${RUBY_EXAMPLESDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \ +PRINT_PLIST_AWK+= /^@dirrm ${RUBY_EXAMPLESDIR:S|${PREFIX}/||:S|/|\\/|g}$$/ \ { next; } -PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_EXAMPLESDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \ - { gsub(/${RUBY_EXAMPLESDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_EXAMPLESDIR}"); \ +PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_EXAMPLESDIR:S|${PREFIX}/||:S|/|\\/|g}/ \ + { gsub(/${RUBY_EXAMPLESDIR:S|${PREFIX}/||:S|/|\\/|g}/, "$${RUBY_EXAMPLESDIR}"); \ print; next; } .endif |