pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/alure alure: use a PLIST variable to account for...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b962d595e81
branches: trunk
changeset: 416308:6b962d595e81
user: maya <maya%pkgsrc.org@localhost>
date: Wed Oct 23 00:17:54 2019 +0000
description:
alure: use a PLIST variable to account for different names on macos.
>From Clement Bouvier in PR pkg/54418, modified to be in the existing
PLIST file, to make it obvious for non-macos updates that if a new
file gets added, it shoudl be added for the mac variant naming as well.
diffstat:
audio/alure/Makefile | 12 +++++++++++-
audio/alure/PLIST | 5 +++--
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r 00b744ec11e0 -r 6b962d595e81 audio/alure/Makefile
--- a/audio/alure/Makefile Wed Oct 23 00:13:40 2019 +0000
+++ b/audio/alure/Makefile Wed Oct 23 00:17:54 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/06/24 10:36:50 nia Exp $
+# $NetBSD: Makefile,v 1.3 2019/10/23 00:17:54 maya Exp $
DISTNAME= alure-1.2
CATEGORIES= audio
@@ -17,6 +17,16 @@
PKGCONFIG_OVERRIDE+= alure-static.pc.in
PKGCONFIG_OVERRIDE+= alure.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= alincldir openalincldir
+
+.if ${OPSYS} == "Darwin"
+PLIST.openalincldir= yes
+.else
+PLIST.alincldir= yes
+.endif
+
.include "options.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 00b744ec11e0 -r 6b962d595e81 audio/alure/PLIST
--- a/audio/alure/PLIST Wed Oct 23 00:13:40 2019 +0000
+++ b/audio/alure/PLIST Wed Oct 23 00:17:54 2019 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/21 13:24:34 maya Exp $
-include/AL/alure.h
+@comment $NetBSD: PLIST,v 1.2 2019/10/23 00:17:54 maya Exp $
+${PLIST.alincldir}include/AL/alure.h
+${PLIST.openalincldir}include/OpenAL/alure.h
lib/libalure-static.a
lib/libalure.so
lib/libalure.so.1
Home |
Main Index |
Thread Index |
Old Index