Date: Sun, 16 Jun 2013 02:55:19 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/179588: audio/specimen: Support CFLAGS properly Message-ID: <20130616025519.82ecb72caa295d74ee3ffbcc@yahoo.com> Resent-Message-ID: <201306151810.r5FIA40K033912@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179588 >Category: ports >Synopsis: audio/specimen: Support CFLAGS properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 15 18:10:04 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS properly - Add DESKTOP_ENTRIES >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/specimen/Makefile audio/specimen/Makefile --- /usr/ports/audio/specimen/Makefile 2012-11-08 05:48:00.000000000 +0900 +++ audio/specimen/Makefile 2013-06-16 00:00:00.000000000 +0900 @@ -1,32 +1,38 @@ -# New ports collection makefile for: specimen -# Date created: 2007-03-06 -# Whom: trasz <trasz@pin.if.uz.zgora.pl> -# +# Created by: trasz <trasz@pin.if.uz.zgora.pl> # $FreeBSD: head/audio/specimen/Makefile 300895 2012-07-14 12:56:14Z beat $ -# PORTNAME= specimen DISTVERSION= 0.5.2-rc3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://zhevny.com/specimen/files/ MAINTAINER= ports@FreeBSD.org COMMENT= MIDI controllable audio sampler -LIB_DEPENDS= phat.0:${PORTSDIR}/x11-toolkits/phat \ - jack.0:${PORTSDIR}/audio/jack \ - samplerate.1:${PORTSDIR}/audio/libsamplerate \ - sndfile.1:${PORTSDIR}/audio/libsndfile \ - lash.2:${PORTSDIR}/audio/lash -BUILD_DEPENDS= jackit>=0.109.2:${PORTSDIR}/audio/jack - # Between 0.109.0 and earlier versions there was an api change in JACK. # However, the library version number was not changed. The line above # is supposed to work around that. -GNU_CONFIGURE= yes +BUILD_DEPENDS= jackit>=0.109.2:${PORTSDIR}/audio/jack +LIB_DEPENDS= jack:${PORTSDIR}/audio/jack \ + lash:${PORTSDIR}/audio/lash \ + samplerate:${PORTSDIR}/audio/libsamplerate \ + sndfile:${PORTSDIR}/audio/libsndfile \ + phat:${PORTSDIR}/x11-toolkits/phat + +USE_GNOME= libgnomecanvas libxml2 USE_GMAKE= yes -USE_GNOME= libxml2 libgnomecanvas +GNU_CONFIGURE= yes + +DESKTOP_ENTRIES="Specimen" "" "${DATADIR}/pixmaps/specimen.png" \ + "${PORTNAME}" "" "" + +post-patch: + @${REINPLACE_CMD} -e \ + 's|-Werror|| ; \ + s|-O3|$$CFLAGS|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-l\.\.|-I..|' ${WRKSRC}/src/gui/Makefile.in .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130616025519.82ecb72caa295d74ee3ffbcc>