From 5b9440d94e416788b63ae8f348370998985128f2 Mon Sep 17 00:00:00 2001 From: Coke Date: Sun, 28 Nov 2010 01:17:15 -0500 Subject: [PATCH] Allow spaces in install dir. TT #1716 --- config/gen/makefiles/root.in | 20 ++++++++++---------- config/inter/libparrot.pm | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/gen/makefiles/root.in b/config/gen/makefiles/root.in index 4d094ef..cf9192d 100644 --- a/config/gen/makefiles/root.in +++ b/config/gen/makefiles/root.in @@ -24,16 +24,16 @@ CONFIG_ARGS = @configure_args@ # Override at least PREFIX with the install location if you're going # to be using this outside of your build area. BUILDPREFIX = -PREFIX = @prefix@ -EXEC_PREFIX = @exec_prefix@ +PREFIX = "@prefix@" +EXEC_PREFIX = "@exec_prefix@" DESTDIR = -BIN_DIR = @bindir@ -LIB_DIR = @libdir@ -INCLUDE_DIR = @includedir@ -DATA_DIR = @datadir@ -DOC_DIR = @docdir@ -VERSION_DIR = @versiondir@ - +BIN_DIR = "@bindir@" +LIB_DIR = "@libdir@" +INCLUDE_DIR = "@includedir@" +DATA_DIR = "@datadir@" +DOC_DIR = "@docdir@" +VERSION_DIR = "@versiondir@" +SRC_DIR = "@srcdir@" ############################################################################### # @@ -2564,7 +2564,7 @@ install-dev-only: installable --destdir=$(DESTDIR) \ --docdir=$(DOC_DIR) \ --datadir=$(DATA_DIR) \ - --srcdir=@srcdir@ \ + --srcdir=$(SRC_DIR) \ --versiondir=$(VERSION_DIR) \ MANIFEST MANIFEST.generated diff --git a/config/inter/libparrot.pm b/config/inter/libparrot.pm index d07d7de..d2d6a15 100644 --- a/config/inter/libparrot.pm +++ b/config/inter/libparrot.pm @@ -84,7 +84,7 @@ sub runstep { && $parrot_is_shared && $conf->data->get('rpath') ) ? $conf->data->get('rpath') - . $conf->data->get('build_dir') + . '"' . $conf->data->get('build_dir') . '"' . '/' . $conf->data->get('blib_dir') : '' @@ -96,7 +96,7 @@ sub runstep { && $parrot_is_shared && $conf->data->get('rpath') ) ? $conf->data->get('rpath') - . $conf->data->get('libdir') + . '"' . $conf->data->get('libdir') . '"' : '' ); -- 1.7.0