Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2011 15:38:42 +0000
From:      Nali Toja <nalitoja@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161970: [patch] x11-toolkits/open-motif: fix -fno-tree-ter configure check
Message-ID:  <86ipne2yd9.fsf@gmail.com>
Resent-Message-ID: <201110241540.p9OFe1II083360@freefall.freebsd.org>

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

>Number:         161970
>Category:       ports
>Synopsis:       [patch] x11-toolkits/open-motif: fix -fno-tree-ter configure check
>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 Oct 24 15:40:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nali Toja
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make configure
[...]
checking for memmove... yes
test: ==: unexpected operator
>Fix:
--- cc_version.diff begins here ---
Index: x11-toolkits/open-motif/Makefile
===================================================================
RCS file: /a/.csup/ports/x11-toolkits/open-motif/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- x11-toolkits/open-motif/Makefile	23 Sep 2011 22:26:31 -0000	1.55
+++ x11-toolkits/open-motif/Makefile	24 Oct 2011 15:38:19 -0000
@@ -87,6 +87,7 @@ post-patch:
 		${XARGS} ${REINPLACE_CMD} -e 's|special file|5| ; \
 		 s|file formats|5|'
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+		-e '/-dumpversion/{ s/==/=/; s/gcc/$$CC/; }' \
 		${WRKSRC}/configure
 
 post-install:
--- cc_version.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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