ports/136330: [patch] x11-wm/i3: Fix path in example and man file

Sofian Brabez sbrabez at gmail.com
Sat Jul 4 20:40:01 UTC 2009


>Number:         136330
>Category:       ports
>Synopsis:       [patch] x11-wm/i3: Fix path in example and man file
>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:   Sat Jul 04 20:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sofian Brabez
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
FreeBSD freebsd.ifr.lan 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jul  2 23:42:18 CEST 2009     root at freebsd.ifr.lan:/usr/obj/usr/src/sys/FREEBSD  i386
>Description:
- Fix path in config.sample file
- Handle correct path in i3.man file
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN i3.orig/Makefile i3/Makefile
--- i3.orig/Makefile	2009-07-04 22:30:34.000000000 +0200
+++ i3/Makefile	2009-07-04 22:27:12.000000000 +0200
@@ -39,8 +39,9 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/src/config.c
-	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}|g' ${WRKSRC}/config.sample
-	@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/man/Makefile
+	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/config.sample
+	@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile
+	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.man
 
 # Create the manpage
 post-build:


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



More information about the freebsd-ports-bugs mailing list