diff options
author | maya <maya@pkgsrc.org> | 2019-10-23 00:17:54 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2019-10-23 00:17:54 +0000 |
commit | d5f22fd2d83aa67b91e97abf106be864e75eeff5 (patch) | |
tree | b28a81e54da93a1cf9dff1947a625988e98e83bd | |
parent | f0adf0d0a77fe69f3ab17110ad349427501f0f4d (diff) | |
download | pkgsrc-d5f22fd2d83aa67b91e97abf106be864e75eeff5.tar.gz |
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.
-rw-r--r-- | audio/alure/Makefile | 12 | ||||
-rw-r--r-- | audio/alure/PLIST | 5 |
2 files changed, 14 insertions, 3 deletions
diff --git a/audio/alure/Makefile b/audio/alure/Makefile index b920ab14814..d0a5d78b0b5 100644 --- a/audio/alure/Makefile +++ b/audio/alure/Makefile @@ -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=OFF -DDYNLOAD=OFF 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 --git a/audio/alure/PLIST b/audio/alure/PLIST index bd08651bb65..42f9b128c6a 100644 --- a/audio/alure/PLIST +++ b/audio/alure/PLIST @@ -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 |