openbsd-ports/devel/subversion/patches/patch-build_ac-macros_swig_m4
steven b8f78082d6 update to 1.5.4
joint work with new maintainer Stefan Sperling
and Brad Walker (me at bradwalker.com)

tested by several
2008-11-02 20:43:49 +00:00

25 lines
1.3 KiB
Plaintext

$OpenBSD: patch-build_ac-macros_swig_m4,v 1.1 2008/11/02 20:43:49 steven Exp $
--- build/ac-macros/swig.m4.orig Sat Oct 25 22:10:37 2008
+++ build/ac-macros/swig.m4 Sat Oct 25 22:11:25 2008
@@ -212,16 +212,16 @@ AC_DEFUN(SVN_FIND_SWIG,
AC_MSG_CHECKING([where to install Ruby scripts])
AC_CACHE_VAL([svn_cv_ruby_sitedir_libsuffix],[
- svn_cv_ruby_sitedir_libsuffix="`echo \"$rbconfig_sitelibdir\" | \
- sed -e \"s,^$rbconfig_sitedir,,\"`"
+ svn_cv_ruby_sitedir_libsuffix="`echo $rbconfig_sitelibdir | \
+ sed -e s,^$rbconfig_sitedir,,`"
])
SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
AC_MSG_RESULT([$SWIG_RB_SITE_LIB_DIR])
AC_MSG_CHECKING([where to install Ruby extensions])
AC_CACHE_VAL([svn_cv_ruby_sitedir_archsuffix],[
- svn_cv_ruby_sitedir_archsuffix="`echo \"$rbconfig_sitearchdir\" | \
- sed -e \"s,^$rbconfig_sitedir,,\"`"
+ svn_cv_ruby_sitedir_archsuffix="`echo $rbconfig_sitearchdir | \
+ sed -e s,^$rbconfig_sitedir,,`"
])
SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
AC_MSG_RESULT([$SWIG_RB_SITE_ARCH_DIR])