mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
Convert multimedia/mythtv-frontend to a slave port of multimedia/mythtv which should make future updates much easier. Upstream security patches have been added to address known vulnerabilities in the bundled ffmpeg 3.2. PR: 225652 (initial patches to update to 29.0) [1] Submitted by: <lucylangthorne55@gmail.com> [1] Differential Revision: https://reviews.freebsd.org/D14563
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
--- configure.orig 2018-02-01 11:15:37 UTC
|
|
+++ configure
|
|
@@ -227,6 +227,10 @@ add_cxxflags(){
|
|
append ECXXFLAGS "$@"
|
|
}
|
|
|
|
+add_cppflags(){
|
|
+ append CPPFLAGS "$@"
|
|
+}
|
|
+
|
|
check_cxx(){
|
|
log check_cxx "$@"
|
|
cat > $TMPCXX
|
|
@@ -559,6 +563,10 @@ CXXPPFLAGS=${CXXPPFLAGS#CXXPPFLAGS=}
|
|
OPENGLV=$(cat mythconfig.mak | grep -e "^CONFIG_OPENGL_VIDEO=yes")
|
|
OPENGLES=$(cat mythconfig.mak | grep -e "^HAVE_GLES2_GL2_H=yes")
|
|
|
|
+add_cppflags "-I${prefix}/include"
|
|
+add_cxxflags "-I${prefix}/include"
|
|
+add_ldflags "-L${prefix}/lib"
|
|
+
|
|
EXTRALIBS=$(cat mythconfig.mak | grep -e "^EXTRALIBS=")
|
|
EXTRALIBS=${EXTRALIBS#EXTRALIBS=}
|
|
|
|
@@ -689,8 +697,10 @@ if enabled music ; then
|
|
echo "MythMusic requires FLAC."
|
|
fi
|
|
|
|
- if ! check_lib cdio/cdio.h cdio_open -lcdio || ! check_lib cdio/cdda.h cdio_cddap_open -lcdio_cdda || ! check_lib cdio/paranoia.h cdio_paranoia_init -lcdio_paranoia ; then
|
|
- disable cdio
|
|
+ if enabled cdio; then
|
|
+ if ! check_lib cdio/cdio.h cdio_open -lcdio || ! check_lib cdio/paranoia/cdda.h cdio_cddap_open -lcdio_cdda || ! check_lib cdio/paranoia/paranoia.h cdio_paranoia_init -lcdio_paranoia ; then
|
|
+ disable cdio
|
|
+ fi
|
|
fi
|
|
|
|
if ! check_lib lame/lame.h lame_init -lmp3lame ; then
|