avoid incorrect unix-style inference
Closes #2659 by both recognizing `lib64` as a default path and by having `--enable-origtree` override inference and specified when running `configure` through the root makefile.
This commit is contained in:
parent
e3e141d1fd
commit
a56c984db0
10
Makefile
10
Makefile
|
@ -136,6 +136,7 @@ win32-as-is:
|
||||||
PREFIX =
|
PREFIX =
|
||||||
|
|
||||||
CONFIG_PREFIX_ARGS = --prefix="$(PREFIX)" --enable-macprefix
|
CONFIG_PREFIX_ARGS = --prefix="$(PREFIX)" --enable-macprefix
|
||||||
|
UNIXSTYLE_CONFIG_qq = MORE_CONFIGURE_ARGS="$(MORE_CONFIGURE_ARGS) $(CONFIG_PREFIX_ARGS)" CONFIG_IN_PLACE_ARGS=""
|
||||||
UNIX_CATALOG = build/local/catalog
|
UNIX_CATALOG = build/local/catalog
|
||||||
UNIX_RACO_ARGS = $(JOB_OPTIONS) --catalog $(UNIX_CATALOG) --auto -i
|
UNIX_RACO_ARGS = $(JOB_OPTIONS) --catalog $(UNIX_CATALOG) --auto -i
|
||||||
UNIX_BASE_ARGS = SELF_FLAGS_qq="" SKIP_DESTDIR_FIX="skip"
|
UNIX_BASE_ARGS = SELF_FLAGS_qq="" SKIP_DESTDIR_FIX="skip"
|
||||||
|
@ -150,7 +151,7 @@ cpus-unix-style:
|
||||||
|
|
||||||
plain-unix-style:
|
plain-unix-style:
|
||||||
if [ "$(PREFIX)" = "" ] ; then $(MAKE) error-need-prefix ; fi
|
if [ "$(PREFIX)" = "" ] ; then $(MAKE) error-need-prefix ; fi
|
||||||
$(MAKE) base MORE_CONFIGURE_ARGS="$(MORE_CONFIGURE_ARGS) $(CONFIG_PREFIX_ARGS)" $(UNIX_BASE_ARGS)
|
$(MAKE) base $(UNIXSTYLE_CONFIG_qq) $(UNIX_BASE_ARGS)
|
||||||
$(MAKE) set-src-catalog
|
$(MAKE) set-src-catalog
|
||||||
$(MAKE) local-catalog
|
$(MAKE) local-catalog
|
||||||
"$(DESTDIR)$(PREFIX)/bin/raco" pkg install $(UNIX_RACO_ARGS) $(REQUIRED_PKGS) $(PKGS)
|
"$(DESTDIR)$(PREFIX)/bin/raco" pkg install $(UNIX_RACO_ARGS) $(REQUIRED_PKGS) $(PKGS)
|
||||||
|
@ -227,10 +228,11 @@ win32-remove-setup-dlls:
|
||||||
IF EXIST racket\lib\ssleay32.dll cmd /c del racket\lib\ssleay32.dll
|
IF EXIST racket\lib\ssleay32.dll cmd /c del racket\lib\ssleay32.dll
|
||||||
|
|
||||||
SRC_MAKEFILE_CONFIG = configure
|
SRC_MAKEFILE_CONFIG = configure
|
||||||
|
CONFIG_IN_PLACE_ARGS = --enable-origtree
|
||||||
|
|
||||||
racket/src/build/Makefile: racket/src/$(SRC_MAKEFILE_CONFIG) racket/src/Makefile.in
|
racket/src/build/Makefile: racket/src/$(SRC_MAKEFILE_CONFIG) racket/src/Makefile.in
|
||||||
mkdir -p racket/src/build
|
mkdir -p racket/src/build
|
||||||
cd racket/src/build; ../$(SRC_MAKEFILE_CONFIG) $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS)
|
cd racket/src/build; ../$(SRC_MAKEFILE_CONFIG) $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS) $(CONFIG_IN_PLACE_ARGS)
|
||||||
|
|
||||||
MORE_CROSS_CONFIGURE_ARGS =
|
MORE_CROSS_CONFIGURE_ARGS =
|
||||||
|
|
||||||
|
@ -360,11 +362,11 @@ nothing-after-base:
|
||||||
|
|
||||||
racket/src/build/cs/c/Makefile: racket/src/cs/c/configure racket/src/cs/c/Makefile.in racket/src/cfg-cs
|
racket/src/build/cs/c/Makefile: racket/src/cs/c/configure racket/src/cs/c/Makefile.in racket/src/cfg-cs
|
||||||
mkdir -p cd racket/src/build/cs/c
|
mkdir -p cd racket/src/build/cs/c
|
||||||
cd racket/src/build/cs/c; ../../../cs/c/configure $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS)
|
cd racket/src/build/cs/c; ../../../cs/c/configure $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS) $(CONFIG_IN_PLACE_ARGS)
|
||||||
$(MAKE) $(CS_CONFIG_TARGET)
|
$(MAKE) $(CS_CONFIG_TARGET)
|
||||||
|
|
||||||
run-cfg-cs:
|
run-cfg-cs:
|
||||||
cd racket/src/build; ../cfg-cs $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS)
|
cd racket/src/build; ../cfg-cs $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS) $(CONFIG_IN_PLACE_ARGS)
|
||||||
|
|
||||||
no-cfg-cs:
|
no-cfg-cs:
|
||||||
echo done
|
echo done
|
||||||
|
|
|
@ -169,8 +169,10 @@ Detailed instructions:
|
||||||
current directory, "[here]" is possibly unnecessary, or possibly
|
current directory, "[here]" is possibly unnecessary, or possibly
|
||||||
just "./", depending on your shell and PATH setting.
|
just "./", depending on your shell and PATH setting.
|
||||||
|
|
||||||
If the `--prefix` flag is omitted, the executables are built for
|
If the `--prefix` flag is omitted and if directories like `bindir`
|
||||||
an in-place installation (i.e., the parent of the directory
|
and `libdir` appear to be the default paths or the
|
||||||
|
`--enable-origtree` flag is specified, then executables are built
|
||||||
|
for an in-place installation (i.e., the parent of the directory
|
||||||
containing this README will be used directly). Unless
|
containing this README will be used directly). Unless
|
||||||
`--enable-shared` is used, the "racket" directory can be moved
|
`--enable-shared` is used, the "racket" directory can be moved
|
||||||
later; most system administrators would recommend that you use
|
later; most system administrators would recommend that you use
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
unixstyle=no
|
unixstyle=no
|
||||||
if test "${prefix}" != "NONE" ; then
|
|
||||||
if test "${enable_origtree}" != "yes" ; then
|
if test "${enable_origtree}" != "yes" ; then
|
||||||
|
if test "${prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
if test "${exec_prefix}" != "NONE" ; then
|
if test "${exec_prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -22,8 +21,10 @@ if test "${datadir}" != '${prefix}/share' ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
||||||
|
if test "${libdir}" != '${exec_prefix}/lib64' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if test "${includedir}" != '${prefix}/include' ; then
|
if test "${includedir}" != '${prefix}/include' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -45,6 +46,7 @@ fi
|
||||||
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
MAKE_COPYTREE=no
|
MAKE_COPYTREE=no
|
||||||
if test "${unixstyle}" = "no" ; then
|
if test "${unixstyle}" = "no" ; then
|
||||||
|
|
|
@ -2008,11 +2008,10 @@ fi
|
||||||
|
|
||||||
|
|
||||||
unixstyle=no
|
unixstyle=no
|
||||||
if test "${prefix}" != "NONE" ; then
|
|
||||||
if test "${enable_origtree}" != "yes" ; then
|
if test "${enable_origtree}" != "yes" ; then
|
||||||
|
if test "${prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
if test "${exec_prefix}" != "NONE" ; then
|
if test "${exec_prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -2030,8 +2029,10 @@ if test "${datadir}" != '${prefix}/share' ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
||||||
|
if test "${libdir}" != '${exec_prefix}/lib64' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if test "${includedir}" != '${prefix}/include' ; then
|
if test "${includedir}" != '${prefix}/include' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -2053,6 +2054,7 @@ fi
|
||||||
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
MAKE_COPYTREE=no
|
MAKE_COPYTREE=no
|
||||||
if test "${unixstyle}" = "no" ; then
|
if test "${unixstyle}" = "no" ; then
|
||||||
|
|
|
@ -2978,11 +2978,10 @@ fi
|
||||||
|
|
||||||
|
|
||||||
unixstyle=no
|
unixstyle=no
|
||||||
if test "${prefix}" != "NONE" ; then
|
|
||||||
if test "${enable_origtree}" != "yes" ; then
|
if test "${enable_origtree}" != "yes" ; then
|
||||||
|
if test "${prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
if test "${exec_prefix}" != "NONE" ; then
|
if test "${exec_prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -3000,8 +2999,10 @@ if test "${datadir}" != '${prefix}/share' ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
||||||
|
if test "${libdir}" != '${exec_prefix}/lib64' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if test "${includedir}" != '${prefix}/include' ; then
|
if test "${includedir}" != '${prefix}/include' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -3023,6 +3024,7 @@ fi
|
||||||
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
MAKE_COPYTREE=no
|
MAKE_COPYTREE=no
|
||||||
if test "${unixstyle}" = "no" ; then
|
if test "${unixstyle}" = "no" ; then
|
||||||
|
|
6
racket/src/cs/c/configure
vendored
6
racket/src/cs/c/configure
vendored
|
@ -2633,11 +2633,10 @@ PREFIX_PATH_RELATIVE=/../..
|
||||||
|
|
||||||
|
|
||||||
unixstyle=no
|
unixstyle=no
|
||||||
if test "${prefix}" != "NONE" ; then
|
|
||||||
if test "${enable_origtree}" != "yes" ; then
|
if test "${enable_origtree}" != "yes" ; then
|
||||||
|
if test "${prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
if test "${exec_prefix}" != "NONE" ; then
|
if test "${exec_prefix}" != "NONE" ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -2655,8 +2654,10 @@ if test "${datadir}" != '${prefix}/share' ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
if test "${libdir}" != '${exec_prefix}/lib' ; then
|
||||||
|
if test "${libdir}" != '${exec_prefix}/lib64' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if test "${includedir}" != '${prefix}/include' ; then
|
if test "${includedir}" != '${prefix}/include' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
@ -2678,6 +2679,7 @@ fi
|
||||||
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
if test "${appsdir}" != '${exec_prefix}/share/applications' ; then
|
||||||
unixstyle=yes
|
unixstyle=yes
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
MAKE_COPYTREE=no
|
MAKE_COPYTREE=no
|
||||||
if test "${unixstyle}" = "no" ; then
|
if test "${unixstyle}" = "no" ; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user