pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Replace LOCALBASE with PREFIX.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8bf7b4ee029e
branches: trunk
changeset: 502075:8bf7b4ee029e
user: taca <taca%pkgsrc.org@localhost>
date: Wed Nov 02 07:44:24 2005 +0000
description:
Replace LOCALBASE with PREFIX.
diffstat:
lang/ruby/modules.mk | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diffs (48 lines):
diff -r 3200085ca33b -r 8bf7b4ee029e lang/ruby/modules.mk
--- a/lang/ruby/modules.mk Wed Nov 02 07:44:02 2005 +0000
+++ b/lang/ruby/modules.mk Wed Nov 02 07:44:24 2005 +0000
@@ -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 @@
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 @@
.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
Home |
Main Index |
Thread Index |
Old Index