freebsd-ports/audio/specimen/Makefile
John Marino 7dcaf27692 audio/specimen: directly link libmath
Fixes indirect linking errors on modern binutils (fix from dports)

Approved by:	bapt (mentor)
2013-07-25 15:08:14 +00:00

39 lines
1 KiB
Makefile

# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= specimen
DISTVERSION= 0.5.2-rc3
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://zhevny.com/specimen/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= MIDI controllable audio sampler
# 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.
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
GNU_CONFIGURE= yes
LDFLAGS+= -lm
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>