aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-02-18 09:03:26 +0000
committerThomas Zander <riggs@FreeBSD.org>2022-02-20 11:55:40 +0000
commit8d035fdefc08a65d470aeb8622bec31ce7180310 (patch)
tree1a6ff24c376d5f64a119d9e22052f26e5e574028
parent38a7a67b581c720d02ecf1f235f6ed51434e937e (diff)
downloadports-8d035fdefc08a65d470aeb8622bec31ce7180310.tar.gz
ports-8d035fdefc08a65d470aeb8622bec31ce7180310.zip
multimedia/mplayer: use openjpeg15 includes in Right Way (tm)
Sponsored by: Netzkommune GmbH (cherry picked from commit ccdb7b7b9e0272bfd830f72657ccb9eca01af225)
-rw-r--r--multimedia/mplayer/Makefile1
-rw-r--r--multimedia/mplayer/Makefile.optvars1
2 files changed, 2 insertions, 0 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 09ddd828f6a4..d9cb87a4df7d 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mplayer
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
+PORTREVISION= 1
CATEGORIES= multimedia audio
MAINTAINER= riggs@FreeBSD.org
diff --git a/multimedia/mplayer/Makefile.optvars b/multimedia/mplayer/Makefile.optvars
index a25119f65f77..da9155ed0ce9 100644
--- a/multimedia/mplayer/Makefile.optvars
+++ b/multimedia/mplayer/Makefile.optvars
@@ -87,6 +87,7 @@ OPENGL_USES= gl
OPENGL_CONFIGURE_OFF= --disable-gl
OPENGL_IMPLIES= X11
+OPENJPEG_CFLAGS= -I${LOCALBASE}/include/openjpeg-1.5
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15
OPENJPEG_CONFIGURE_OFF= --disable-libopenjpeg