ports/139021: [PATCH] textproc/p5-HTML-CTPP2: respect LOCALBASE

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Sep 21 15:50:02 UTC 2009


>Number:         139021
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-HTML-CTPP2: respect 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:   Mon Sep 21 15:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-BETA2 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Thu Jul 30 19:51:12 MSD 2009
>Description:
Fails to build with nondefault LOCALBASE:

http://people.freebsd.org/~amdmi3/p5-HTML-CTPP2-2.5.9.log

Port maintainer (reki at reki.ru) is cc'd.

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

--- p5-HTML-CTPP2-2.5.9.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/textproc/p5-HTML-CTPP2/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile	10 Aug 2009 14:32:32 -0000	1.13
+++ Makefile	21 Sep 2009 15:38:44 -0000
@@ -25,4 +25,8 @@
 # The port actually requires ${CXX} when ${CC} is defined
 CC=		${CXX}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+		${WRKSRC}/Makefile.PL
+
 .include <bsd.port.mk>
--- p5-HTML-CTPP2-2.5.9.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list