diff options
author | Wen Heping <wen@FreeBSD.org> | 2019-11-06 01:12:25 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2019-11-06 01:12:25 +0000 |
commit | f30ae2b1cd55a6cdb7bcaae8f18d293a87e8957d (patch) | |
tree | 30a3b49a266b3573b5cd689b33b26ca80dcfc5cf /lang/python38/files | |
parent | biology/kallisto: Upgrade to 0.46.1 (diff) |
- Fix plist when build with DEBUG option
Notes
Notes:
svn path=/head/; revision=516854
Diffstat (limited to 'lang/python38/files')
-rw-r--r-- | lang/python38/files/patch-Makefile.pre.in | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/lang/python38/files/patch-Makefile.pre.in b/lang/python38/files/patch-Makefile.pre.in index 0b76edfdcbe9..1262d9f1aea6 100644 --- a/lang/python38/files/patch-Makefile.pre.in +++ b/lang/python38/files/patch-Makefile.pre.in @@ -1,7 +1,7 @@ # Description: Remove duplicate CFLAGS, CPPFLAGS, LDFLAGS by stripping CONFIGURE_* # Submitted by: koobs (r326729) # TODO: Upstream ---- Makefile.pre.in.orig 2019-10-19 23:59:05 UTC +--- Makefile.pre.in.orig 2019-11-04 01:16:37 UTC +++ Makefile.pre.in @@ -80,7 +80,6 @@ MAKESETUP= $(srcdir)/Modules/makesetup OPT= @OPT@ @@ -33,3 +33,33 @@ PY_LDFLAGS_NODIST=$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST) NO_AS_NEEDED= @NO_AS_NEEDED@ SGI_ABI= @SGI_ABI@ +@@ -1269,14 +1266,6 @@ bininstall: altbininstall + else true; \ + fi + (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python3$(EXE)) +- -if test "$(VERSION)" != "$(LDVERSION)"; then \ +- rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config; \ +- (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config python$(VERSION)-config); \ +- rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION).pc; \ +- (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python-$(LDVERSION).pc); \ +- rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION)-embed.pc; \ +- (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python-$(LDVERSION)-embed.pc); \ +- fi + -rm -f $(DESTDIR)$(BINDIR)/python3-config + (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-config) + -rm -f $(DESTDIR)$(LIBPC)/python3.pc +@@ -1580,6 +1569,14 @@ libainstall: @DEF_MAKE_RULE@ python-config + $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh + $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py + $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-config ++ -if test "$(VERSION)" != "$(LDVERSION)"; then \ ++ rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config; \ ++ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config python$(VERSION)-config); \ ++ rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION).pc; \ ++ (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python-$(LDVERSION).pc); \ ++ rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION)-embed.pc; \ ++ (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python-$(LDVERSION)-embed.pc); \ ++ fi + @if [ -s Modules/python.exp -a \ + "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \ + echo; echo "Installing support files for building shared extension modules on AIX:"; \ |