Date: Wed, 18 Dec 2013 12:11:49 GMT From: Marcin Cieslak <saper@saper.info> To: FreeBSD-gnats-submit@freebsd.org Cc: saper@saper.info Subject: ports/184963: [MAINTAINER] audio/Maaate: fix build on 10.x without libstdc++ Message-ID: <201312181211.rBICBnOW015969@radziecki.saper.info> Resent-Message-ID: <201312181220.rBICK0xd033487@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184963 >Category: ports >Synopsis: [MAINTAINER] audio/Maaate: fix build on 10.x without libstdc++ >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Dec 18 12:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Marcin Cieslak >Release: FreeBSD 10.0-CURRENT amd64 >Organization: http://saper.info >Environment: System: FreeBSD radziecki.saper.info 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r241671M: Thu Oct 18 09:38:06 CEST >Description: Port build fails on FreeBSD cluster: http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/2013-12-18_01h04m44s/logs/Maaate-0.3.1_3.log probably because of the hardcoded -lstdc++ line even when using clang++ This is no longer necessary. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: when building mate with CC=clang CXX=clang++ -lstdc++ can still be seen added for the libraries. >Fix: --- Maaate-0.3.1_3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/audio/Maaate.orig/Makefile /usr/ports/audio/Maaate/Makefile --- /usr/ports/audio/Maaate.orig/Makefile 2010-12-04 08:30:18.000000000 +0100 +++ /usr/ports/audio/Maaate/Makefile 2013-09-20 16:36:35.000000000 +0200 @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: Maaate -# Date created: Fab 12, 2001 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# -# $FreeBSD: ports/audio/Maaate/Makefile,v 1.32 2010/12/04 07:30:18 ade Exp $ -# +# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> +# $FreeBSD: audio/Maaate/Makefile 327706 2013-09-20 14:36:35Z bapt $ PORTNAME= Maaate PORTVERSION= 0.3.1 @@ -15,8 +10,9 @@ MAINTAINER= saper@saper.info COMMENT= MPEG audio analysis toolkit +NO_STAGE= yes +USES= gmake USE_AUTOTOOLS= libtool -USE_GMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes diff -ruN --exclude=CVS /usr/ports/audio/Maaate.orig/files/patch-configure /usr/ports/audio/Maaate/files/patch-configure --- /usr/ports/audio/Maaate.orig/files/patch-configure 2002-10-06 19:39:01.000000000 +0200 +++ /usr/ports/audio/Maaate/files/patch-configure 2013-12-18 12:38:37.000000000 +0100 @@ -1,5 +1,5 @@ ---- configure.orig Thu Sep 5 09:54:07 2002 -+++ configure Mon Sep 30 22:55:21 2002 +--- configure.orig 2002-10-09 03:30:34.000000000 +0200 ++++ configure 2013-12-18 12:38:19.000000000 +0100 @@ -5691,6 +5691,7 @@ # This can be used to rebuild libtool when needed @@ -8,3 +8,11 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -5699,7 +5700,6 @@ + + + +-LDFLAGS="$LDFLAGS -lstdc++" + + echo $ac_n "checking for cos in -lm""... $ac_c" 1>&6 + echo "configure:5706: checking for cos in -lm" >&5 --- Maaate-0.3.1_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312181211.rBICBnOW015969>