diff options
author | drochner <drochner@pkgsrc.org> | 2008-02-05 20:38:33 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-02-05 20:38:33 +0000 |
commit | 8e2e6f2731069b8706661cac94cbf64844a7eefe (patch) | |
tree | 89682855c794766da419abf287a4f7b09433f82c /audio/libvisual | |
parent | 6a1d52b5d4fabe172aaa2b83e1026303f1790626 (diff) | |
download | pkgsrc-8e2e6f2731069b8706661cac94cbf64844a7eefe.tar.gz |
link against librt on NetBSD-current
(and propagate this through libvisual.so and libvisual.pc)
Diffstat (limited to 'audio/libvisual')
-rw-r--r-- | audio/libvisual/Makefile | 14 | ||||
-rw-r--r-- | audio/libvisual/distinfo | 4 | ||||
-rw-r--r-- | audio/libvisual/patches/patch-ad | 13 | ||||
-rw-r--r-- | audio/libvisual/patches/patch-ae | 11 |
4 files changed, 40 insertions, 2 deletions
diff --git a/audio/libvisual/Makefile b/audio/libvisual/Makefile index bab83b0d2a7..27f246b5604 100644 --- a/audio/libvisual/Makefile +++ b/audio/libvisual/Makefile @@ -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 @@ GNU_CONFIGURE= yes 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 --git a/audio/libvisual/distinfo b/audio/libvisual/distinfo index d06b208a1c7..961680ede4a 100644 --- a/audio/libvisual/distinfo +++ b/audio/libvisual/distinfo @@ -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 --git a/audio/libvisual/patches/patch-ad b/audio/libvisual/patches/patch-ad new file mode 100644 index 00000000000..d5bba100bb1 --- /dev/null +++ b/audio/libvisual/patches/patch-ad @@ -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 --git a/audio/libvisual/patches/patch-ae b/audio/libvisual/patches/patch-ae new file mode 100644 index 00000000000..6ff120f23ef --- /dev/null +++ b/audio/libvisual/patches/patch-ae @@ -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@ |