ports/161970: [patch] x11-toolkits/open-motif: fix -fno-tree-ter configure check

Nali Toja nalitoja at gmail.com
Mon Oct 24 15:40:01 UTC 2011


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



More information about the freebsd-ports-bugs mailing list