[PATCH] textproc/p5-HTML-Tidy: support nondefault LOCALBASE

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Mar 4 14:10:50 UTC 2010


>Submitter-Id:	current-users
>Originator:	Dmitry Marakasov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] textproc/p5-HTML-Tidy: support nondefault LOCALBASE
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.0-RELEASE i386
>Environment:
System: FreeBSD hades.panopticon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Tue Nov 24 22:31:59 MSK 2009
>Description:
The port doesn't install with custom localbase, as /usr/local is hardcoded in include paths in Makefile.PL. The patch fixes that.

Port maintainer (perl at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- p5-HTML-Tidy-1.08_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/textproc/p5-HTML-Tidy/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	16 Aug 2009 09:55:27 -0000	1.8
+++ Makefile	4 Mar 2010 13:05:36 -0000
@@ -23,6 +23,10 @@
 
 MAN3=		HTML::Tidy.3 HTML::Tidy::Message.3
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+		${WRKSRC}/Makefile.PL
+
 .if !defined(NOPORTDOCS)
 PORTDOCS=	Changes README
 
--- p5-HTML-Tidy-1.08_1.patch ends here ---



More information about the freebsd-perl mailing list