Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 19:42:55 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        reki@reki.ru
Subject:   ports/139021: [PATCH] textproc/p5-HTML-CTPP2: respect LOCALBASE
Message-ID:  <20090921154255.CFFF5B849@hades.panopticon>
Resent-Message-ID: <200909211550.n8LFo1KF019520@freefall.freebsd.org>

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

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



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