ports/142940: [maintainer] www/p5-RT-Authen-ExternalAuth -- fix build for pre-7.1

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Jan 18 17:00:19 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list