Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Apr 2010 11:48:08 +0530 (IST)
From:      Ashish SHUKLA <wahjava@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/145555: [PATCH] irc/irssi-fish refuses to build on csh
Message-ID:  <20100409061808.D0FEF4B437@chateau.d.if>
Resent-Message-ID: <201004090620.o396K1rG078596@freefall.freebsd.org>

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

>Number:         145555
>Category:       ports
>Synopsis:       [PATCH] irc/irssi-fish refuses to build on csh
>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:   Fri Apr 09 06:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ashish SHUKLA
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.if 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #3: Tue Mar 2 01:06:00 IST 2010 root@chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64


>Description:
Martin Polden reported me that irc/irssi-fish refuses to build on C
shell (which he is using) with a fix to replace the occurences of
'$(pwd)' to '`pwd`' in Makefile. This PR fixes the issue.

Thanks to Martin.
>How-To-Repeat:

1. Start C shell:

% csh

2. In C shell, build the irssi-fish port:

% sudo make -C /usr/ports/irc/irssi-fish build

>Fix:
diff -urN /usr/ports/irc/irssi-fish/Makefile irssi-fish/Makefile
--- /usr/ports/irc/irssi-fish/Makefile	2010-03-31 18:05:44.000000000 +0530
+++ irssi-fish/Makefile	2010-04-09 11:33:42.000000000 +0530
@@ -42,6 +42,7 @@
 		-e 's|[$$][(]HOME[)]/glib-1.2.10|${LOCALBASE}/include/glib-2.0|' \
 		-e 's|[$$][(]HOME[)]/irssi-0.8.9|${LOCALBASE}/include/irssi|' \
 		-e 's|miracl.a|${LOCALBASE}/lib/libmiracl.a|' \
+		-e 's|[$$]\(pwd\)|`pwd`|g' \
 		-e 's|\@echo \"Press ENTER to continue or CTRL\+C to abort...\"\; read junk||' \
 		${WRKSRC}/Makefile
 

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



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