pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/vamp-plugin-sdk vamp-plugin-sdk: Fix usage of -l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df9fcc5733f8
branches:  trunk
changeset: 411396:df9fcc5733f8
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Feb 12 02:50:13 2020 +0000

description:
vamp-plugin-sdk: Fix usage of -ldl in pkgconfig file

diffstat:

 audio/vamp-plugin-sdk/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f186fbc41dc6 -r df9fcc5733f8 audio/vamp-plugin-sdk/Makefile
--- a/audio/vamp-plugin-sdk/Makefile    Wed Feb 12 01:32:43 2020 +0000
+++ b/audio/vamp-plugin-sdk/Makefile    Wed Feb 12 02:50:13 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2019/11/23 11:46:35 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/02/12 02:50:13 nia Exp $
 
 DISTNAME=      vamp-plugin-sdk-2.8.0
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  https://code.soundsoftware.ac.uk/attachments/download/2450/
 
@@ -14,6 +15,12 @@
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 
+SUBST_CLASSES+=                dl
+SUBST_STAGE.dl=                pre-configure
+SUBST_MESSAGE.dl=      Fixing usage of -ldl in pkgconfig file.
+SUBST_FILES.dl+=       pkgconfig/vamp-hostsdk.pc.in
+SUBST_SED.dl=          -e "s,-ldl,${DL_LIBS},g"
+
 PKGCONFIG_OVERRIDE+=   pkgconfig/vamp-hostsdk.pc.in
 PKGCONFIG_OVERRIDE+=   pkgconfig/vamp-sdk.pc.in
 PKGCONFIG_OVERRIDE+=   pkgconfig/vamp.pc.in



Home | Main Index | Thread Index | Old Index