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.
Responsible Changed From-To: freebsd-ports-bugs->dhn Over to maintainer (via the GNATS Auto Assign Tool)
Author: dhn Date: Sun Dec 29 11:31:22 2013 New Revision: 337961 URL: http://svnweb.freebsd.org/changeset/ports/337961 Log: - Fix build on 10.x - Support stage PR: ports/185262 Submitted by: Yamagi Burmeister <yamagi@yamagi.org> Modified: head/audio/ncmpcpp/Makefile Modified: head/audio/ncmpcpp/Makefile ============================================================================== --- head/audio/ncmpcpp/Makefile Sun Dec 29 11:27:58 2013 (r337960) +++ head/audio/ncmpcpp/Makefile Sun Dec 29 11:31:22 2013 (r337961) @@ -15,8 +15,8 @@ LIB_DEPENDS= libmpdclient.so:${PORTSDIR} 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 @@ CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin .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} "" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
Author: bapt Date: Wed Jan 8 11:23:59 2014 New Revision: 339096 URL: http://svnweb.freebsd.org/changeset/ports/339096 Log: MFH: r337961 - Fix build on 10.x - Support stage PR: ports/185262 Submitted by: Yamagi Burmeister <yamagi@yamagi.org> Modified: branches/2014Q1/audio/ncmpcpp/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/audio/ncmpcpp/Makefile ============================================================================== --- branches/2014Q1/audio/ncmpcpp/Makefile Wed Jan 8 11:20:19 2014 (r339095) +++ branches/2014Q1/audio/ncmpcpp/Makefile Wed Jan 8 11:23:59 2014 (r339096) @@ -15,8 +15,8 @@ LIB_DEPENDS= libmpdclient.so:${PORTSDIR} 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 @@ CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin .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} "" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
*** Bug 187809 has been marked as a duplicate of this bug. ***