ports/171772: misc/mc clang update

Andrey Simonenko simon at comsys.ntu-kpi.kiev.ua
Wed Sep 19 10:50:08 UTC 2012


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



More information about the freebsd-ports-bugs mailing list