Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2012 13:46:05 +0300
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171772: misc/mc clang update
Message-ID:  <20120919104605.GA30355@pm513-1.comsys.ntu-kpi.kiev.ua>
Resent-Message-ID: <201209191050.q8JAo7OO098862@freefall.freebsd.org>

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

>Number:         171772
>Category:       ports
>Synopsis:       misc/mc clang update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 19 10:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
>Description:

The following change allows to build misc/mc with clang (installed
from ports with added clang-cpp symlink).

>How-To-Repeat:
>Fix:
diff -ruN mc.orig/Makefile mc/Makefile
--- mc.orig/Makefile	2012-08-29 16:46:28.000000000 +0300
+++ mc/Makefile	2012-09-19 13:19:27.000000000 +0300
@@ -39,6 +39,7 @@
 
 post-patch:
 	${REINPLACE_CMD} -e 's/SUBDIRS = intl/SUBDIRS =/' ${WRKSRC}/Makefile.in
+	${REINPLACE_CMD} -e 's/saved_CPPFLAGS="-ltermcap/saved_CPPFLAGS="/' ${WRKSRC}/configure
 
 .include <bsd.port.pre.mk>
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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