[Patches] Re: [Patch #101207] BeOS: installing of linker script
Rene Liebscher
R.Liebscher@gmx.de
Wed, 30 Aug 2000 12:57:20 +0200
This is a multi-part message in MIME format.
--------------E22B3A2781ECBD3754EF4293
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
noreply@sourceforge.net wrote:
>
> Patch #101207 has been updated.
>
> Project:
> Category: Build
> Status: Closed
> Summary: BeOS: installing of linker script
>
------------------------------------------------------
>
> Date: 2000-Aug-17 18:24
> By: fdrake
>
> Comment:
> Please change this to work the same way as for AIX. The Distutils code may need to be adjusted to be able to locate the linkmodule script; please contribute a patch for that as well or post a bug report for distutils, so that Greg Ward can fix it.
>
> Thanks!
> -------------------------------------------------------
>
> Date: 2000-Aug-24 14:11
> By: fdrake
>
> Comment:
> Adjusted the location to match that used on other platforms, and add the "echo" statements to make it behave similarly to the AIX equivalent section.
>
> Checked in as Makefile.in revision 1.97.
> -------------------------------------------------------
It looks good, but while testing it, I found that we have to install
dl_export.h
in the same directory as config.h. (My first tests didn't show this,
because
I had still the python source directory there, and the Makefile of the
installed version
used a include path to the sources' BeOS directory.)
I attached a patch which installs dl_export.h in the same directory as
config.h .
Kind regards
Rene Liebscher
--------------E22B3A2781ECBD3754EF4293
Content-Type: text/plain; charset=us-ascii;
name="dl_export_h.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="dl_export_h.patch"
Index: python/dist/src/Makefile.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.in,v
retrieving revision 1.98
diff -c -r1.98 Makefile.in
*** python/dist/src/Makefile.in 2000/08/29 15:00:11 1.98
--- python/dist/src/Makefile.in 2000/08/30 10:54:58
***************
*** 362,367 ****
--- 362,373 ----
$(INSTALL_DATA) $$i $(INCLUDEPY); \
done
$(INSTALL_DATA) config.h $(CONFINCLUDEPY)/config.h
+ @if [ "$(MACHDEP)" == "beos" ] ; then \
+ echo; echo "Installing BeOS specific header files"; \
+ $(INSTALL_DATA) BeOS/dl_export.h $(CONFINCLUDEPY)/dl_export.h; \
+ echo "$(CONFINCLUDEPY)/dl_export.h"; \
+ else true; \
+ fi
# Install the library and miscellaneous stuff needed for extending/embedding
# This goes into $(exec_prefix)
***************
*** 411,418 ****
echo; echo "$(LIBPL)/README"; \
$(INSTALL_DATA) BeOS/README.readline-2.2 $(LIBPL)/README.readline-2.2; \
echo "$(LIBPL)/README.readline-2.2"; \
- $(INSTALL_DATA) BeOS/dl_export.h $(LIBPL)/dl_export.h; \
- echo "$(LIBPL)/dl_export.h"; \
$(INSTALL_PROGRAM) BeOS/ar-fake $(LIBPL)/ar-fake; \
echo "$(LIBPL)/ar-fake"; \
$(INSTALL_PROGRAM) BeOS/linkcc $(LIBPL)/linkcc; \
--- 417,422 ----
--------------E22B3A2781ECBD3754EF4293--