pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b2f88f074ec7
branches: trunk
changeset: 597898:b2f88f074ec7
user: hans <hans%pkgsrc.org@localhost>
date: Wed Jan 11 17:05:51 2012 +0000
description:
Fix build on SunOS.
diffstat:
audio/fluidsynth/Makefile | 7 ++++++-
audio/glurp/Makefile | 9 ++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r ab098373658d -r b2f88f074ec7 audio/fluidsynth/Makefile
--- a/audio/fluidsynth/Makefile Wed Jan 11 17:01:30 2012 +0000
+++ b/audio/fluidsynth/Makefile Wed Jan 11 17:05:51 2012 +0000
@@ -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 @@
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"
diff -r ab098373658d -r b2f88f074ec7 audio/glurp/Makefile
--- a/audio/glurp/Makefile Wed Jan 11 17:01:30 2012 +0000
+++ b/audio/glurp/Makefile Wed Jan 11 17:05:51 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2011/11/01 06:00:36 sbd Exp $
+# $NetBSD: Makefile,v 1.20 2012/01/11 17:08:05 hans Exp $
#
DISTNAME= glurp-0.11.6
@@ -16,6 +16,13 @@
GNU_CONFIGURE= yes
USE_TOOLS+= intltool pkg-config
+LIBS.SunOS+= -lsocket -lnsl
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-export-dynamic
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index