Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 22:30:01 GMT
From:      Marcin Cieslak <saper@saper.info>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/184963: [MAINTAINER] audio/Maaate: fix build on 10.x without libstdc++
Message-ID:  <201312202230.rBKMU1s3069240@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/184963; it has been noted by GNATS.

From: Marcin Cieslak <saper@saper.info>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184963: [MAINTAINER] audio/Maaate: fix build on 10.x
 without libstdc++
Date: Fri, 20 Dec 2013 22:25:49 +0000

 While we are here, add LICENSE, PORT_OPTIONS:MDOC
 and staging support as suggested by portlint(1).
 
 ===> Generating patch
 ===> Viewing diff with more
 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-12-20 23:13:01.000000000 +0100
 @@ -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,10 @@
  MAINTAINER=	saper@saper.info
  COMMENT=	MPEG audio analysis toolkit
  
 +LICENSE=	GPLv2
 +
 +USES=		gmake
  USE_AUTOTOOLS=	libtool
 -USE_GMAKE=	yes
  GNU_CONFIGURE=	yes
  USE_LDCONFIG=	yes
  
 @@ -25,10 +22,10 @@
  		 s|(CCLD|(CXXLD|g' ${WRKSRC}/demos/Makefile.in
  
  post-install:
 -.if !defined(NOPORTDOCS)
 -	@${MKDIR} ${DOCSDIR}
 +.if !defined(PORT_OPTIONS:MDOCS)
 +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
  .for file in API.html ChangeLog THANKS applications.html
 -	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
 +	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
  .endfor
  .endif
  
 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
 ===> Done



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