The following reply was made to PR ports/109550; it has been noted by GNATS.

From: Tom McLaughlin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc:  
Subject: Re: ports/109550: lang/python25 does not install
        /usr/local/bin/python
Date: Mon, 22 Oct 2007 13:23:40 -0400

 --=-Jt7VhQNbnsJsnm64gexa
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 I spoke with Josh about this on IRC and would a patch like the attached
 to python2[345] be okay?  The first python installed will install the
 bin/python link now.
 
 tom
 
 --=-Jt7VhQNbnsJsnm64gexa
 Content-Disposition: attachment; filename=python24-symlink.diff
 Content-Type: text/x-patch; name=python24-symlink.diff; charset=utf-8
 Content-Transfer-Encoding: 7bit
 
 ? python24-symlink.diff
 Index: Makefile
 ===================================================================
 RCS file: /ncvs/ports/lang/python24/Makefile,v
 retrieving revision 1.158
 diff -u -r1.158 Makefile
 --- Makefile   3 Oct 2007 23:22:03 -0000       1.158
 +++ Makefile   22 Oct 2007 17:06:04 -0000
 @@ -49,7 +49,7 @@
  
  .include <bsd.port.pre.mk>
  
 -.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
 +.if (${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}) || 
!exists(${LOCALBASE}/bin/python)
  MLINKS=               ${PYTHON_VERSION}.1 python.1
  PLIST_SUB+=   IF_DEFAULT=""
  .else
 @@ -198,7 +198,7 @@
        ${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.4 ${WRKDIR}/idle2.4 \
                ${WRKDIR}/smtpd2.4.py ${PREFIX}/bin
  
 -.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
 +.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} || 
!exists(${LOCALBASE}/bin/python)
        for f in ${BIN_SCRIPTS}; do \
                TARGET=`${ECHO_CMD} $$f | ${SED} -E ${BINLINKS_SUB}`; \
                cd ${PREFIX}/bin && ${LN} -f $$TARGET $$f; \
 
 --=-Jt7VhQNbnsJsnm64gexa--
 
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to