diff options
author | triaxx <triaxx@pkgsrc.org> | 2022-11-06 14:17:04 +0000 |
---|---|---|
committer | triaxx <triaxx@pkgsrc.org> | 2022-11-06 14:17:04 +0000 |
commit | bfedc26720d9fbc84aea4d3a0352182950af452e (patch) | |
tree | 8285c51cda3de55b2976254eb21517714be28281 | |
parent | 439c7261cdc704db205f56249fff7d00bb65e40b (diff) | |
download | pkgsrc-bfedc26720d9fbc84aea4d3a0352182950af452e.tar.gz |
libbluray: Fix building for FreeBSD
pkgsrc changes:
---------------
* Add a preprocessor definition (from FreeBSD ports).
* Bump revision.
-rw-r--r-- | multimedia/libbluray/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/libbluray/Makefile b/multimedia/libbluray/Makefile index 58ccb77ac9f..ab872fed9bd 100644 --- a/multimedia/libbluray/Makefile +++ b/multimedia/libbluray/Makefile @@ -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-bdjava-jar 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 |