Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2009 20:38:00 GMT
From:      Sofian Brabez <sbrabez@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136330: [patch] x11-wm/i3: Fix path in example and man file
Message-ID:  <200907042038.n64Kc0hx017260@www.freebsd.org>
Resent-Message-ID: <200907042040.n64Ke009088847@freefall.freebsd.org>

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

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



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