diff options
author | hans <hans> | 2012-01-11 17:05:51 +0000 |
---|---|---|
committer | hans <hans> | 2012-01-11 17:05:51 +0000 |
commit | 790ac8de15e4c152911db4c87b918980e1cda025 (patch) | |
tree | b212dc41def8a6c36f5c2bd6cd887d37df8c1f36 /audio/fluidsynth | |
parent | a3a54074d5668903801144d2ed6c657d7e928350 (diff) | |
download | pkgsrc-790ac8de15e4c152911db4c87b918980e1cda025.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" |