ports/165039: [patch] converters/wkhtmltopdf to honor custom LOCALBASE/PREFIX

Ryan Steinmetz zi at FreeBSD.org
Sun Feb 12 16:20:09 UTC 2012


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



More information about the freebsd-ports-bugs mailing list