diff options
author | hans <hans@pkgsrc.org> | 2012-01-11 17:05:51 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-01-11 17:05:51 +0000 |
commit | 3f5ae450723239ef90c3b83c37b283720cda6122 (patch) | |
tree | b212dc41def8a6c36f5c2bd6cd887d37df8c1f36 /audio/fluidsynth | |
parent | 4626b6d5e875d522b0d2d8e2465d315a66c949cf (diff) | |
download | pkgsrc-3f5ae450723239ef90c3b83c37b283720cda6122.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/fluidsynth')
-rw-r--r-- | audio/fluidsynth/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile index 51e04197e8a..59c1beca711 100644 --- a/audio/fluidsynth/Makefile +++ b/audio/fluidsynth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2009/11/03 12:58:24 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2012/01/11 17:05:51 hans Exp $ DISTNAME= fluidsynth-1.0.9 PKGREVISION= 1 @@ -21,6 +21,11 @@ PTHREAD_AUTO_VARS= yes CFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" LDFLAGS+= ${LIBOSSAUDIO} +CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t +CPPFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t +CPPFLAGS.SunOS+= -DSOUND_PCM_WRITE_CHANNELS=SNDCTL_DSP_CHANNELS +LIBS.SunOS+= -lsocket + .include "../../devel/libgetopt/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" |