Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 12:00:37 -0700 (PDT)
From:      Ceri Davies <ceri@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/55638: [PATCH] www/rt2 marked broken
Message-ID:  <200308251900.h7PJ0bTC040078@freefall.freebsd.org>

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

From: Ceri Davies <ceri@FreeBSD.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/55638: [PATCH] www/rt2 marked broken
Date: Mon, 25 Aug 2003 19:51:43 +0100

 Adding to audit trail, from misfiled PR ports/55716:
 
 Date: Tue, 19 Aug 2003 01:22:48 +0200
 From: Simon Barner <barner@in.tum.de>
 Message-Id: <20030818232248.GA44997@zi025.glhnet.mhn.de>
 Subject: pending/55716: Re: [PATCH] www/rt2 marked broken
 
  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
 



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