pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libbluray libbluray: Fix building for FreeBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4613f510d3f2
branches:  trunk
changeset: 387760:4613f510d3f2
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Sun Nov 06 14:17:04 2022 +0000

description:
libbluray: Fix building for FreeBSD

pkgsrc changes:
---------------
  * Add a preprocessor definition (from FreeBSD ports).
  * Bump revision.

diffstat:

 multimedia/libbluray/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ce00d5a084f1 -r 4613f510d3f2 multimedia/libbluray/Makefile
--- a/multimedia/libbluray/Makefile     Sun Nov 06 13:38:49 2022 +0000
+++ b/multimedia/libbluray/Makefile     Sun Nov 06 14:17:04 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2022/09/26 17:41:53 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2022/11/06 14:17:04 triaxx Exp $
 
 DISTNAME=      libbluray-1.3.3
+PKGREVISION=   1
 CATEGORIES=    multimedia
 MASTER_SITES=  http://download.videolan.org/pub/videolan/libbluray/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.bz2
@@ -17,6 +18,7 @@
 CONFIGURE_ARGS+=       --disable-optimizations
 PKGCONFIG_OVERRIDE+=   src/libbluray.pc.in
 
+CPPFLAGS.FreeBSD+=     -D__BSD_VISIBLE
 CPPFLAGS.SunOS+=       -D__EXTENSIONS__
 
 # provide jni_md.h for other architectures



Home | Main Index | Thread Index | Old Index