Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 01:20:00 GMT
From:      Chris Dukes <chris.dukes.aix@gmail.com>
To:        freebsd-python@FreeBSD.org
Subject:   Re: ports/178242: bsd.python.mk injection of @exec easy_install to PLIST creates inappropriate post-install scripts for pkgng
Message-ID:  <201304300120.r3U1K05V001975@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/178242; it has been noted by GNATS.

From: Chris Dukes <chris.dukes.aix@gmail.com>
To: bug-followup@FreeBSD.org, chris.dukes.aix@gmail.com
Cc:  
Subject: Re: ports/178242: bsd.python.mk injection of @exec easy_install to
 PLIST creates inappropriate post-install scripts for pkgng
Date: Mon, 29 Apr 2013 21:15:33 -0400

 This is a multi-part message in MIME format.
 --------------050204040401040600050102
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 And a patch that seems to fix the issue for pkgng.
 
 For the old style packaging, it could probably stand to have the bit to 
 generate the @exec in the plist removed as well.
 
 
 --------------050204040401040600050102
 Content-Type: text/x-patch;
  name="bsd.python.mk.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="bsd.python.mk.patch"
 
 Index: Mk/bsd.python.mk
 ===================================================================
 --- Mk/bsd.python.mk	(revision 316838)
 +++ Mk/bsd.python.mk	(working copy)
 @@ -498,6 +498,7 @@
  pre-install-easyinstall:
  	@${MKDIR} ${PYEASYINSTALL_SITELIBDIR}
  
 +.if !defined(WITH_PKGNG)
  add-plist-post: add-plist-easyinstall
  add-plist-easyinstall:
  	@# @unexec line must be located before any other line while @exec must not.
 @@ -508,6 +509,7 @@
  	@${ECHO_CMD} "@exec ${SETENV} PYTHONPATH=${PYEASYINSTALL_SITELIBDIR} \
  		${PYEASYINSTALL_CMD} ${PYEASYINSTALL_INSTALLARGS}" \
  		>> ${TMPPLIST}
 +.endif		# !defined(WITH_PKGNG)
  .endif		# defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
  
  # distutils support
 
 --------------050204040401040600050102--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304300120.r3U1K05V001975>