pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libvisual link against librt on NetBSD-current
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ddf2d9f7c6f
branches: trunk
changeset: 538310:1ddf2d9f7c6f
user: drochner <drochner%pkgsrc.org@localhost>
date: Tue Feb 05 20:38:33 2008 +0000
description:
link against librt on NetBSD-current
(and propagate this through libvisual.so and libvisual.pc)
diffstat:
audio/libvisual/Makefile | 14 +++++++++++++-
audio/libvisual/distinfo | 4 +++-
audio/libvisual/patches/patch-ad | 13 +++++++++++++
audio/libvisual/patches/patch-ae | 11 +++++++++++
4 files changed, 40 insertions(+), 2 deletions(-)
diffs (74 lines):
diff -r 14d71d514e43 -r 1ddf2d9f7c6f audio/libvisual/Makefile
--- a/audio/libvisual/Makefile Tue Feb 05 20:28:53 2008 +0000
+++ b/audio/libvisual/Makefile Tue Feb 05 20:38:33 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/12/21 20:35:36 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2008/02/05 20:38:33 drochner Exp $
#
DISTNAME= libvisual-0.4.0
@@ -19,6 +19,18 @@
USE_TOOLS+= pkg-config msgfmt
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
+RT_LIB_SCHED= -lrt
+.else
+RT_LIB_SCHED= # empty
+.endif
+MAKE_ENV+= RT_LIB_SCHED=${RT_LIB_SCHED}
+SUBST_CLASSES+= rtlib
+SUBST_STAGE.rtlib= post-patch
+SUBST_FILES.rtlib= libvisual.pc.in
+SUBST_VARS.rtlib= RT_LIB_SCHED
+
+.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
.if ${MACHINE_ARCH} == "i386"
diff -r 14d71d514e43 -r 1ddf2d9f7c6f audio/libvisual/distinfo
--- a/audio/libvisual/distinfo Tue Feb 05 20:28:53 2008 +0000
+++ b/audio/libvisual/distinfo Tue Feb 05 20:38:33 2008 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.9 2006/10/06 22:04:00 rillig Exp $
+$NetBSD: distinfo,v 1.10 2008/02/05 20:38:33 drochner Exp $
SHA1 (libvisual-0.4.0.tar.gz) = bd21d621f1d54134c26138e19eaae46c5aeaec00
RMD160 (libvisual-0.4.0.tar.gz) = df4fda944e84417def2817f248f587dea5b2d8f1
Size (libvisual-0.4.0.tar.gz) = 583386 bytes
SHA1 (patch-ab) = 2493f145d37c6de8dc37beb22e788c628d43342e
SHA1 (patch-ac) = ad124820a2a20550bf85181be284c1e000114ddd
+SHA1 (patch-ad) = e7b2493cf5880cea7497a1d8d6fb1ce4f856ba6d
+SHA1 (patch-ae) = 72affdd9a1302a16efe5f4ecaafbc37061e4db0c
diff -r 14d71d514e43 -r 1ddf2d9f7c6f audio/libvisual/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual/patches/patch-ad Tue Feb 05 20:38:33 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2008/02/05 20:38:33 drochner Exp $
+
+--- libvisual/Makefile.in.orig 2008-01-29 15:12:46.000000000 +0100
++++ libvisual/Makefile.in
+@@ -213,7 +213,7 @@ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+-libvisual_@LIBVISUAL_VERSION_SUFFIX@_la_LIBADD =
++libvisual_@LIBVISUAL_VERSION_SUFFIX@_la_LIBADD = ${RT_LIB_SCHED}
+ am_libvisual_@LIBVISUAL_VERSION_SUFFIX@_la_OBJECTS = lv_actor.lo \
+ lv_input.lo lv_event.lo lv_bin.lo lv_plugin.lo lv_video.lo \
+ lv_video_simd.lo lv_mem.lo lv_audio.lo lv_fourier.lo lv_list.lo \
diff -r 14d71d514e43 -r 1ddf2d9f7c6f audio/libvisual/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual/patches/patch-ae Tue Feb 05 20:38:33 2008 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-ae,v 1.1 2008/02/05 20:38:33 drochner Exp $
+
+--- libvisual.pc.in.orig 2008-01-29 15:19:07.000000000 +0100
++++ libvisual.pc.in
+@@ -8,5 +8,5 @@ Name: libvisual
+ Version: @VERSION@
+ Description: an audio visualisation abstraction library.
+ Requires: @VISUAL_PKG_CONFIG_DEP@
+-Libs: -L${libdir} @VISUAL_LIBS@
++Libs: -L${libdir} @VISUAL_LIBS@ @RT_LIB_SCHED@
+ Cflags: -I${includedir} @VISUAL_CFLAGS@
Home |
Main Index |
Thread Index |
Old Index