mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 22:13:47 -04:00
42 lines
1.9 KiB
Plaintext
42 lines
1.9 KiB
Plaintext
$NetBSD: patch-au,v 1.2 2015/03/16 13:53:05 tnn Exp $
|
|
|
|
--- Makefile.pre.in.orig 2015-02-25 11:27:45.000000000 +0000
|
|
+++ Makefile.pre.in
|
|
@@ -86,7 +86,7 @@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODI
|
|
# be able to build extension modules using the directories specified in the
|
|
# environment variables
|
|
PY_CPPFLAGS= $(BASECPPFLAGS) -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
|
|
-PY_LDFLAGS= $(CONFIGURE_LDFLAGS) $(LDFLAGS)
|
|
+PY_LDFLAGS= -L. $(CONFIGURE_LDFLAGS) $(LDFLAGS)
|
|
NO_AS_NEEDED= @NO_AS_NEEDED@
|
|
LDLAST= @LDLAST@
|
|
SGI_ABI= @SGI_ABI@
|
|
@@ -683,7 +683,7 @@ Modules/_testembed: Modules/_testembed.o
|
|
Modules/_freeze_importlib: Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN)
|
|
$(LINKCC) $(PY_LDFLAGS) -o $@ Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
|
|
|
-Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Modules/_freeze_importlib.c
|
|
+Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Modules/_freeze_importlib.c $(LIBRARY_OBJS_OMIT_FROZEN)
|
|
$(MAKE) Modules/_freeze_importlib
|
|
./Modules/_freeze_importlib \
|
|
$(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
|
|
@@ -828,7 +828,7 @@ Objects/setobject.o: $(srcdir)/Objects/s
|
|
$(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
|
|
$(OPCODETARGETGEN) $(OPCODETARGETS_H)
|
|
|
|
-Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h
|
|
+#Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h
|
|
|
|
Python/frozen.o: Python/importlib.h
|
|
|
|
@@ -1066,7 +1066,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK
|
|
if test -n "$(PY3LIBRARY)"; then \
|
|
$(INSTALL_SHARED) $(PY3LIBRARY) $(DESTDIR)$(LIBDIR)/$(PY3LIBRARY); \
|
|
fi; \
|
|
- else true; \
|
|
+ elif test -f $(INSTSONAME); then \
|
|
+ $(INSTALL_SHARED) $(INSTSONAME) $(DESTDIR)$(LIBDIR); \
|
|
fi
|
|
if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \
|
|
rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-32$(EXE); \
|