summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2016-02-17 04:52:25 +0000
committerdbj <dbj@pkgsrc.org>2016-02-17 04:52:25 +0000
commitc3b4edb407527bf1982fa02929481a5cb4d35017 (patch)
treeafe242dc228cfdb126d5fc90180cd7fd54803489 /audio
parent43699ea6a2d4eef6ce368cac8f7fcee7ee618869 (diff)
downloadpkgsrc-c3b4edb407527bf1982fa02929481a5cb4d35017.tar.gz
fix PLIST on Darwin which doesn't have CLOCK_GETTIME
Diffstat (limited to 'audio')
-rw-r--r--audio/lilv/Makefile10
-rw-r--r--audio/lilv/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/audio/lilv/Makefile b/audio/lilv/Makefile
index 89c68a8bb3d..2ee57f76473 100644
--- a/audio/lilv/Makefile
+++ b/audio/lilv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2015/06/05 21:04:36 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2016/02/17 04:52:25 dbj Exp $
DISTNAME= lilv-0.20.0
PKGREVISION= 1
@@ -22,6 +22,14 @@ EGDIR= share/examples/lilv
CONF_FILES= ${EGDIR}/lilv ${PKG_SYSCONFDIR}/bash_completion.d/lilv
INSTALLATION_DIRS+= ${PKG_SYSCONFDIR}/bash_completion.d ${EGDIR}
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= lv2bench
+.if ${OPSYS} != "Darwin"
+# Darwin doesn't have CLOCK_GETTIME so it doesn't compile this
+PLIST.lv2bench= yes
+.endif
+
.include "options.mk"
BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} # --bindings BROKEN
diff --git a/audio/lilv/PLIST b/audio/lilv/PLIST
index 282360c12c6..a0afc1537d3 100644
--- a/audio/lilv/PLIST
+++ b/audio/lilv/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2015/04/20 03:21:58 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/02/17 04:52:25 dbj Exp $
bin/lilv-bench
-bin/lv2bench
+${PLIST.lv2bench}bin/lv2bench
bin/lv2info
bin/lv2ls
include/lilv-0/lilv/lilv.h