Date: Sat, 27 Nov 2004 19:50:28 GMT From: Khairil Yusof <kaeru@inigo-tech.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/73991: UPDATE GroupUser folder to V3.1.1 Message-ID: <200411271950.iARJoS4b032981@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/73991; it has been noted by GNATS. From: Khairil Yusof <kaeru@inigo-tech.com> To: Volker Stolz <vs@freebsd.org> Cc: freebsd-gnats-submit@freebsd.org, estartu@augusta.de Subject: Re: ports/73991: UPDATE GroupUser folder to V3.1.1 Date: Sun, 28 Nov 2004 03:45:47 +0800 On Thu, 2004-11-18 at 17:45 +0100, Volker Stolz wrote: > The update does not compile on 4.10: > > Compiling > /usr/ports/www/zope-groupuserfolder/work/GroupUserFolder/skins/gruf/change_password.py > ... > File > "/usr/ports/www/zope-groupuserfolder/work/GroupUserFolder/skins/gruf/change_password.py", > line 23 > return context.password_form(context, > SyntaxError: 'return' outside function This patch should 'fix' this problem, by not compiling files for skins (which are mostly templates). A lot of zope products fail to compile some files for skins, but the python code will still execute nonetheless and the port will still work. --- Makefile.org Sun Nov 28 03:41:23 2004 +++ Makefile Sun Nov 28 03:41:48 2004 @@ -29,7 +29,7 @@ PRODUCTNAME= GroupUserFolder do-build: - -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/ + -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -x skins ${WRKSRC}/ pre-install: @${RM} -f ${PLIST}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411271950.iARJoS4b032981>