ports/73991: UPDATE GroupUser folder to V3.1.1

Khairil Yusof kaeru at inigo-tech.com
Sat Nov 27 19:50:28 UTC 2004


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

From: Khairil Yusof <kaeru at inigo-tech.com>
To: Volker Stolz <vs at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org, estartu at 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}
 
 



More information about the freebsd-ports-bugs mailing list