autotrace: Disable ming support

ming is for generating Flash files. Flash was discontinued in 2020.

See: https://trac.macports.org/ticket/66867
See: autotrace/autotrace#137
This commit is contained in:
Ryan Carsten Schmidt
2024-05-20 12:19:12 -05:00
parent 3bfcac0a3d
commit a0b719ef9f
2 changed files with 20 additions and 2 deletions
+3 -2
View File
@@ -5,7 +5,7 @@ PortGroup github 1.0
epoch 1
github.setup autotrace autotrace 0.31.10
revision 0
revision 1
checksums rmd160 f617e82d09dcb080a37e732b4debea082296ed20 \
sha256 14627f93bb02fe14eeda0163434a7cb9b1f316c0f1727f0bdf6323a831ffe80d \
size 924682
@@ -38,9 +38,10 @@ depends_lib port:gettext-runtime \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:ImageMagick \
port:libpng \
port:ming \
port:pstoedit
patchfiles no-ming.patch
post-patch {
# https://github.com/autotrace/autotrace/issues/136
set v [split ${version} .]
+17
View File
@@ -0,0 +1,17 @@
Disable ming support.
ming is for generating Flash files. Flash was discontinued in 2020.
https://github.com/autotrace/autotrace/issues/137
--- configure.ac.orig 2024-01-29 15:37:09.000000000 -0600
+++ configure.ac 2024-05-20 12:12:43.000000000 -0500
@@ -158,10 +158,7 @@
dnl
HAVE_LIBSWF=no
-AC_CHECK_HEADER(ming.h,
- swf_header_found=yes,
- swf_header_found=no)
-if test "${swf_header_found}" = yes ; then
+if false; then
PKG_CHECK_MODULES([LIBSWF],
[libming],
[