The following reply was made to PR ports/178242; it has been noted by GNATS.
From: Chris Dukes <chris.dukes....@gmail.com> To: bug-follo...@freebsd.org, chris.dukes....@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-- _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"