Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 16:58:45 GMT
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erwin@FreeBSD.org
Subject:   ports/142940: [maintainer] www/p5-RT-Authen-ExternalAuth -- fix build for pre-7.1
Message-ID:  <201001181658.o0IGwjoB056906@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <201001181700.o0IH0IFb052529@freefall.freebsd.org>

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

>Number:         142940
>Category:       ports
>Synopsis:       [maintainer] www/p5-RT-Authen-ExternalAuth -- fix build for pre-7.1
>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:   Mon Jan 18 17:00:18 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #17: Sun Jan 17 13:37:18 GMT 2010 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

As reported by pointyhat: env(1) did not grow a '-u' option until
7.1-RELEASE, and we still need to support 6.4-RELEASE.

>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	2010-01-16 17:16:16.000000000 +0000
+++ p5-RT-Authen-ExternalAuth/Makefile	2010-01-18 16:30:50.000000000 +0000
@@ -51,7 +51,8 @@
 # $PREFIX in the environment and inherit settings from RT.pm
 do-configure:
 	@cd ${CONFIGURE_WRKSRC} && \
-	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
+	    unset PREFIX && \
+	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
 .include <bsd.port.mk>
--- p5-RT-Authen-ExternalAuth.diff ends here ---


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



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