You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
various ports: use cmake.prefix_path
This commit is contained in:
@@ -218,7 +218,7 @@ platform darwin {
|
||||
# required when building against port:wxWidgets-3.1 but it won't hurt either.
|
||||
patchfiles-append ${PPREFIX}patch-cmakefiles.diff
|
||||
|
||||
cmake.module_path-append ${prefix}/libexec/ffmpeg${ffmpeg_ver}
|
||||
cmake.prefix_path-append ${prefix}/libexec/ffmpeg${ffmpeg_ver}
|
||||
configure.pkg_config_path-append \
|
||||
${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
|
||||
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ foreach clang_v {10 11 12 13 14} {
|
||||
configure.cppflags-append \
|
||||
-Wno-deprecated-declarations
|
||||
|
||||
cmake.module_path-append \
|
||||
cmake.prefix_path-append \
|
||||
${prefix}/libexec/llvm-${clang_v}
|
||||
|
||||
configure.args-append -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE \
|
||||
|
||||
@@ -50,7 +50,7 @@ patchfiles patch-ffmpegendanalyzer.diff \
|
||||
|
||||
conflicts_build cppunit
|
||||
|
||||
cmake.module_path ${prefix}/libexec/ffmpeg${ffmpeg_ver}
|
||||
cmake.prefix_path ${prefix}/libexec/ffmpeg${ffmpeg_ver}
|
||||
configure.pkg_config_path ${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
|
||||
|
||||
# Best practice for CMake dictates that builds should be out of source.
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ compiler.whitelist macports-clang-${llvm_version}
|
||||
legacysupport.use_static \
|
||||
yes
|
||||
|
||||
cmake.module_path ${prefix}/libexec/llvm-${llvm_version} \
|
||||
cmake.prefix_path ${prefix}/libexec/llvm-${llvm_version} \
|
||||
${prefix}
|
||||
cmake_share_module_dir \
|
||||
${prefix}/libexec/llvm-${llvm_version}
|
||||
|
||||
@@ -27,7 +27,7 @@ depends_lib-append port:ffmpeg${ffmpeg_ver} \
|
||||
port:libpng \
|
||||
port:zlib
|
||||
|
||||
cmake.module_path ${prefix}/libexec/ffmpeg${ffmpeg_ver}
|
||||
cmake.prefix_path ${prefix}/libexec/ffmpeg${ffmpeg_ver}
|
||||
|
||||
configure.args-append -DENABLE_STATIC=ON \
|
||||
-DENABLE_THUMBNAILER=ON \
|
||||
|
||||
Reference in New Issue
Block a user