From barner@in.tum.de  Mon Aug 18 16:23:21 2003
Return-Path: <barner@in.tum.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6D79437B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Aug 2003 16:23:21 -0700 (PDT)
Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A851543F75
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Aug 2003 16:23:20 -0700 (PDT)
	(envelope-from barner@in.tum.de)
Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000)
	id E2D1338E45; Tue, 19 Aug 2003 01:22:48 +0200 (CEST)
Message-Id: <20030818232248.GA44997@zi025.glhnet.mhn.de>
Date: Tue, 19 Aug 2003 01:22:48 +0200
From: Simon Barner <barner@in.tum.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc: ianjhart@ntlworld.com
Subject: Re: [PATCH] www/rt2 marked broken

>Number:         55716
>Category:       ports
>Synopsis:       Re: [PATCH] www/rt2 marked broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 18 16:30:16 PDT 2003
>Closed-Date:    Mon Aug 25 11:52:22 PDT 2003
>Last-Modified:  Mon Aug 25 11:52:22 PDT 2003
>Originator:     Simon Barner
>Release:        
>Organization:
>Environment:
>Description:
 Hi,
 
 With the following patch, the port builds and installs fine for me (FreeBSD 4.8, perl 5.8.0 from ports). Somehow, the ${PERL} variable is not set automatically in the make environment: bug or feature?
 
 p.s.:
 
 Under circumstances, the following two files should be added the the pkg-plist (the are left when i deinstall the port without using it):
 
 /usr/local/rt2/lib/perllocal.pod
 /usr/local/rt2/etc/config.pm.old
 
 Regards,
  Simon
 
 --- Makefile.orig       Tue Aug 19 01:17:44 2003
 +++ Makefile    Tue Aug 19 00:43:57 2003
 @@ -41,8 +41,6 @@
                 ${SITE_PERL}/CGI/Cookie.pm:${PORTSDIR}/www/p5-CGI.pm \
                 ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
  
 -BROKEN=         "Does not build"
 -
  WRKSRC=                ${WRKDIR}/rt-${RT_VERSION}
  RT_VERSION=    ${PORTVERSION:C/\./-/g}
  DB_TYPE?=      mysql
 @@ -135,16 +133,16 @@
  .for _NAME in RT_PATH DB_DBA_PASSWORD DB_HOST DB_RT_PASS DB_TYPE
         @${REINPLACE_CMD} "s!%%${_NAME}%%!${${_NAME}}!g" ${WRKSRC}/Makefile
  .endfor
 -       @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile testdeps
 -       @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile fixdeps
 +       @cd ${WRKSRC} && ${MAKE} PERL=${PERL} -f ${WRKSRC}/Makefile testdeps
 +       @cd ${WRKSRC} && ${MAKE} PERL=${PERL} -f ${WRKSRC}/Makefile fixdeps
  
  do-install:
         @${MKDIR} /var/log/rt2
  .if defined(INSTALL_NEW)
 -       -@cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile dropdb
 -       @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile install
 +       -@cd ${WRKSRC} && ${MAKE} PERL=${PERL} -f ${WRKSRC}/Makefile dropdb
 +       @cd ${WRKSRC} && ${MAKE} PERL=${PERL} -f ${WRKSRC}/Makefile install
  .else
 -       @cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile upgrade
 +       @cd ${WRKSRC} && ${MAKE} PERL=${PERL} -f ${WRKSRC}/Makefile upgrade
  .endif
         @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/rt2/README
         @${CHOWN} -R www /var/log/rt2
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Mon Aug 25 11:51:51 PDT 2003 
State-Changed-Why:  
Misfiled followup to ports/55638 [content migrated]. 


Responsible-Changed-From-To: gnats-admin->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Mon Aug 25 11:51:51 PDT 2003 
Responsible-Changed-Why:  

Take from gnats-admin. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55716 
>Unformatted:
