pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54418: audio/alure bad header directory naming in PLIST under macos
The following reply was made to PR pkg/54418; it has been noted by GNATS.
From: =?utf-8?Q?cl=C3=A9ment_bouvier?= <clement.bouvier.europe%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: macos-pkg-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/54418: audio/alure bad header directory naming in PLIST
under macos
Date: Fri, 2 Aug 2019 09:43:32 +0400
--Apple-Mail=_85D13FF2-1F58-4818-A8B3-F02A5AC8A468
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Finally the patch with David's corrections.
Cl=C3=A9ment.
--Apple-Mail=_85D13FF2-1F58-4818-A8B3-F02A5AC8A468
Content-Disposition: attachment;
filename=patch-alure.diff
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="patch-alure.diff"
Content-Transfer-Encoding: 7bit
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/alure/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 24 Jun 2019 10:36:50 -0000 1.2
+++ Makefile 2 Aug 2019 05:39:30 -0000
@@ -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"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/audio/alure/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST 21 Sep 2018 13:24:34 -0000 1.1
+++ PLIST 2 Aug 2019 05:39:30 -0000
@@ -1,5 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2018/09/21 13:24:34 maya Exp $
-include/AL/alure.h
+${PLIST.alincldir}include/AL/alure.h
lib/libalure-static.a
lib/libalure.so
lib/libalure.so.1
Index: PLIST.Darwin
===================================================================
RCS file: PLIST.Darwin
diff -N PLIST.Darwin
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ PLIST.Darwin 2 Aug 2019 05:39:30 -0000
@@ -0,0 +1 @@
+${PLIST.openalincldir}include/OpenAL/alure.h
--Apple-Mail=_85D13FF2-1F58-4818-A8B3-F02A5AC8A468--
Home |
Main Index |
Thread Index |
Old Index