Ned Deily <n...@acm.org> added the comment:

That seems to work.  However, while testing that, I found another, minor 
problem in that same area.  In Makefile.pre.in bininstall target just 
before the lines you cite, there is also this added in r71935:

-rm -f $(DESTDIR)$(BINDIR)/python3-config
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-
config)

Prior to that, though, the Mac Makefile target install_versionedtools is 
mucking in the same area:

if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \
  mv "$(DESTDIR)$(prefix)/bin/python3-config" 
"$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\
  ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-
config" ; \
fi

and, in fact, the mv fails with an error because (1) the python3-config 
hasn't been created yet and (2) the test is incorrect: ! -h is also true 
if the file doesn't exist.  With the code in bininstall, I think these 
lines can be safely removed from install_versionedtools.

----------
status: pending -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6170>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to