ports/146262: [patch] x11/xinit: use PREFIX in the man page

Anonymous swell.k at gmail.com
Mon May 3 12:30:14 UTC 2010


>Number:         146262
>Category:       ports
>Synopsis:       [patch] x11/xinit: use PREFIX in the man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 12:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: x11/xinit/Makefile
===================================================================
RCS file: /a/.cvsup/ports/x11/xinit/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- x11/xinit/Makefile	1 May 2010 11:40:23 -0000	1.8
+++ x11/xinit/Makefile	3 May 2010 12:15:24 -0000
@@ -22,5 +22,6 @@ MAN1=		startx.1 xinit.1
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp
+	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/xinit.man
 
 .include <bsd.port.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list