Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2009 08:23:12 +0100 (BST)
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/136656: [maintainer] www/p5-RT-Authen-ExternalAuth.diff www/p5-RT-Extension-LDAPImport.diff www/p5-RT-Extension-SLA.diff www/p5-RTx-Calendar.diff www/p5-RTx-RightsMatrix.diff www/p5-RTx-Shredder.diff -- Fix for PREFIX problem pointed out by The Restless Daemon
Message-ID:  <200907110723.n6B7NC4A020403@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <200907110730.n6B7U2mS045665@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136656
>Category:       ports
>Synopsis:       [maintainer] www/p5-RT-Authen-ExternalAuth.diff www/p5-RT-Extension-LDAPImport.diff www/p5-RT-Extension-SLA.diff www/p5-RTx-Calendar.diff www/p5-RTx-RightsMatrix.diff www/p5-RTx-Shredder.diff -- Fix for PREFIX problem pointed out by The Restle
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 11 07:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
Infracainophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun 13 17:37:55 BST 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

QATty said:

The Restless Daemon identified a mtree error while trying to build:
 p5-RT-Authen-ExternalAuth-0.08_1 maintained by m.seaman@infracaninophile.co.uk
 Makefile ident: $FreeBSD: ports/www/p5-RT-Authen-ExternalAuth/Makefile,v 1.3 2009/05/16 02:33:02 pgollucci Exp $

THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest.
Patches for testing and committing welcomed as a reply to this email.
[...]

>From the config log at http://qatty.tecnik93.com/logs/7-STABLE-FPT-CustDir/p5-RT-Authen-ExternalAuth-0.08_1.log

===>   p5-RT-Authen-ExternalAuth-0.08_1 depends on file: /usr/PPP/lib/perl5/site_perl/5.8.9/Net/LDAP.pm - found
===>   p5-RT-Authen-ExternalAuth-0.08_1 depends on file: /usr/PPP/lib/perl5/site_perl/5.8.9/RT.pm - found
===>   p5-RT-Authen-ExternalAuth-0.08_1 depends on file: /usr/PPP/bin/perl5.8.9 - found
===>  Configuring for p5-RT-Authen-ExternalAuth-0.08_1
Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm
Cannot determine author info from lib/RT/Authen/ExternalAuth.pm
Cannot determine license info from lib/RT/Authen/ExternalAuth.pm
Using RT configuration from /usr/PPP/lib/RT.pm:   <<<----*** File doesn't exist
./etc	=> /usr/PPP/etc/Authen-ExternalAuth       <<<----*** wrong
./html	=> /usr/PPP/html                          <<<----*** wrong
./lib	=> /usr/PPP/lib                           <<<----*** wrong
Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm
Checking if your kit is complete...
Looks good
Writing Makefile for RT::Authen::ExternalAuth
===>  Building for p5-RT-Authen-ExternalAuth-0.08_1


The Perl Configure script for these modules gets confused if PREFIX is
defined in the environment.  Instead of reading the values from
${SITE_PERL}/RT.pm (rt38) or ${LOCALBASE}/rt3/lib/RT.pm (rt36) as it
is meant to, it makes up a load of old tosh.  This seems to be a
problem specific to modules intended as extensions to the RT web
interface -- the same fix should probably be applied to
www/p5-RTx-Statistics


>How-To-Repeat:
	
>Fix:

	

--- p5-RT-Authen-ExternalAuth.diff begins here ---
diff -Nur /usr/ports/www/p5-RT-Authen-ExternalAuth/Makefile p5-RT-Authen-ExternalAuth/Makefile
--- /usr/ports/www/p5-RT-Authen-ExternalAuth/Makefile	2009-05-18 06:34:31.000000000 +0100
+++ p5-RT-Authen-ExternalAuth/Makefile	2009-07-10 15:04:58.000000000 +0100
@@ -52,7 +52,7 @@
 # rather undesirably.
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
+	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 .include <bsd.port.post.mk>
--- p5-RT-Authen-ExternalAuth.diff ends here ---

--- p5-RT-Extension-LDAPImport.diff begins here ---
diff -Nur /usr/ports/www/p5-RT-Extension-LDAPImport/Makefile p5-RT-Extension-LDAPImport/Makefile
--- /usr/ports/www/p5-RT-Extension-LDAPImport/Makefile	2009-07-10 08:46:36.000000000 +0100
+++ p5-RT-Extension-LDAPImport/Makefile	2009-07-10 15:04:07.000000000 +0100
@@ -56,7 +56,7 @@
 # rather undesirably.
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
+	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 .include <bsd.port.post.mk>
--- p5-RT-Extension-LDAPImport.diff ends here ---

--- p5-RT-Extension-SLA.diff begins here ---
diff -Nur /usr/ports/www/p5-RT-Extension-SLA/Makefile p5-RT-Extension-SLA/Makefile
--- /usr/ports/www/p5-RT-Extension-SLA/Makefile	2009-06-24 17:53:47.000000000 +0100
+++ p5-RT-Extension-SLA/Makefile	2009-07-10 15:01:27.000000000 +0100
@@ -65,7 +65,7 @@
 # rather undesirably.
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
+	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 post-install:
--- p5-RT-Extension-SLA.diff ends here ---

--- p5-RTx-Calendar.diff begins here ---
diff -Nur /usr/ports/www/p5-RTx-Calendar/Makefile p5-RTx-Calendar/Makefile
--- /usr/ports/www/p5-RTx-Calendar/Makefile	2009-05-18 06:34:31.000000000 +0100
+++ p5-RTx-Calendar/Makefile	2009-07-10 15:03:33.000000000 +0100
@@ -53,7 +53,7 @@
 # rather undesirably.
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
+	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 .include <bsd.port.post.mk>
--- p5-RTx-Calendar.diff ends here ---

--- p5-RTx-RightsMatrix.diff begins here ---
diff -Nur /usr/ports/www/p5-RTx-RightsMatrix/Makefile p5-RTx-RightsMatrix/Makefile
--- /usr/ports/www/p5-RTx-RightsMatrix/Makefile	2008-12-20 13:10:20.000000000 +0000
+++ p5-RTx-RightsMatrix/Makefile	2009-07-10 15:03:12.000000000 +0100
@@ -33,7 +33,7 @@
 # rather undesirably.
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
+	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 .include <bsd.port.mk>
--- p5-RTx-RightsMatrix.diff ends here ---

--- p5-RTx-Shredder.diff begins here ---
diff -Nur /usr/ports/www/p5-RTx-Shredder/Makefile p5-RTx-Shredder/Makefile
--- /usr/ports/www/p5-RTx-Shredder/Makefile	2009-02-16 17:11:30.000000000 +0000
+++ p5-RTx-Shredder/Makefile	2009-07-10 15:02:47.000000000 +0100
@@ -44,7 +44,7 @@
 # rather undesirably.
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
+	    ${SETENV}  -u PREFIX ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 .include <bsd.port.mk>
--- p5-RTx-Shredder.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 ss Daemon



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