Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2012 16:13:22 GMT
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165039: [patch] converters/wkhtmltopdf to honor custom LOCALBASE/PREFIX
Message-ID:  <201202121613.q1CGDMqp067382@red.freebsd.org>
Resent-Message-ID: <201202121620.q1CGK88c094032@freefall.freebsd.org>

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

>Number:         165039
>Category:       ports
>Synopsis:       [patch] converters/wkhtmltopdf to honor custom LOCALBASE/PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 12 16:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        9.0-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
converters/wkhtmltopdf does not successfully build with a custom LOCALBASE/PREFIX set.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/converters/wkhtmltopdf/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	10 Nov 2011 21:29:29 -0000	1.7
+++ Makefile	12 Feb 2012 15:39:43 -0000
@@ -77,7 +77,8 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+		-e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \
 		-e 's|/usr/X11R6/lib|${LOCALBASE}/lib|g' \
 		${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
 


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



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