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

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Mar 4 13:30:06 UTC 2010


>Number:         144463
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-HTML-Tidy: support nondefault LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 04 13:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-RELEASE i386
>Organization:
>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 ---

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



More information about the freebsd-ports-bugs mailing list