pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/alure



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Oct 23 00:17:54 UTC 2019

Modified Files:
        pkgsrc/audio/alure: Makefile PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/alure/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/alure/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/alure/Makefile
diff -u pkgsrc/audio/alure/Makefile:1.2 pkgsrc/audio/alure/Makefile:1.3
--- pkgsrc/audio/alure/Makefile:1.2     Mon Jun 24 10:36:50 2019
+++ pkgsrc/audio/alure/Makefile Wed Oct 23 00:17:54 2019
@@ -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 @@ CMAKE_ARGS+= -DBUILD_EXAMPLES=OFF -DDUMB
 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"

Index: pkgsrc/audio/alure/PLIST
diff -u pkgsrc/audio/alure/PLIST:1.1 pkgsrc/audio/alure/PLIST:1.2
--- pkgsrc/audio/alure/PLIST:1.1        Fri Sep 21 13:24:34 2018
+++ pkgsrc/audio/alure/PLIST    Wed Oct 23 00:17:54 2019
@@ -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