Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 Mar 2010 16:27:00 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        perl@FreeBSD.org
Subject:   [PATCH] textproc/p5-HTML-Tidy: support nondefault LOCALBASE
Message-ID:  <20100304132700.A5427B829@hades.panopticon>

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

>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@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 ---




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