From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 29 09:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA42E1DD for ; Sun, 29 Dec 2013 09:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A4B3A162B for ; Sun, 29 Dec 2013 09:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBT9U0GW016572 for ; Sun, 29 Dec 2013 09:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBT9U0dp016571; Sun, 29 Dec 2013 09:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 29 Dec 2013 09:30:00 GMT Resent-Message-Id: <201312290930.rBT9U0dp016571@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yamagi Burmeister Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCF601C7 for ; Sun, 29 Dec 2013 09:25:48 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 89CA5161B for ; Sun, 29 Dec 2013 09:25:48 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBT9PlQj066327 for ; Sun, 29 Dec 2013 09:25:47 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBT9Plu5066316; Sun, 29 Dec 2013 09:25:47 GMT (envelope-from nobody) Message-Id: <201312290925.rBT9Plu5066316@oldred.freebsd.org> Date: Sun, 29 Dec 2013 09:25:47 GMT From: Yamagi Burmeister To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185262: [PATCH] Fix audio/ncmpcpp on 10.0 and add stagedir support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 09:30:00 -0000 >Number: 185262 >Category: ports >Synopsis: [PATCH] Fix audio/ncmpcpp on 10.0 and add stagedir support >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: Sun Dec 29 09:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yamagi Burmeister >Release: FreeBSD 10.0-RC3 >Organization: >Environment: FreeBSD happy.home.yamagi.org 10.0-RC3 FreeBSD 10.0-RC3 #0 r259944M: Sun Dec 29 00:58:05 CET 2013 root@happy.home.yamagi.org:/usr/obj/usr/src/sys/HAPPY amd64 >Description: Clang is currently unable to build audio/ncmpcpp due to hundreds of type missmatches between ncurses and the local C++ code. I don't think that this can be resolved by a patch of reasonable length. Therefor force the usage of g++ by adding USE_GCC=any to the port. While at it add stagedir support. >How-To-Repeat: >Fix: Index: Makefile =================================================================== --- Makefile (Revision 337842) +++ Makefile (Arbeitskopie) @@ -15,8 +15,8 @@ libfftw3.so:${PORTSDIR}/math/fftw3 USES= iconv ncurses pkgconfig -NO_STAGE= yes USE_BZIP2= yes +USE_GCC= any GNU_CONFIGURE= yes USE_GNOME= glib20 USE_AUTOTOOLS= automake aclocal libtool @@ -90,15 +90,15 @@ .endif post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${STAGEDIR}${PREFIX}/bin/ .if ${PORT_OPTIONS:MDOCS} - @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" + @${ECHO_MSG} "installing additional documentation to ${STAGEDIR}${DOCSDIR}" @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}/NEWS - ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS - ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/COPYING - ${INSTALL_DATA} ${WRKSRC}/doc/config ${DOCSDIR}/config - ${INSTALL_DATA} ${WRKSRC}/doc/keys ${DOCSDIR}/keys + ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/AUTHORS + ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}/COPYING + ${INSTALL_DATA} ${WRKSRC}/doc/config ${STAGEDIR}${DOCSDIR}/config + ${INSTALL_DATA} ${WRKSRC}/doc/keys ${STAGEDIR}${DOCSDIR}/keys .endif @${ECHO_MSG} "" >Release-Note: >Audit-Trail: >Unformatted: