Also add OPTIONS whether to install additional dependency libraries in
case they are not installed. If they are found during configure time, then
libextractor will pick them and will install additional files, thus we
need to conditionally enable some entries in pkg-plist.
PR: ports/155179 (fixes this PR but with a different patch)
patch-src_test_plugintest.c: fix a failing test.
Christian Grothoff confirmed that the test program should be fixed,
rather than the library.
patch-configure: fix ``if test "foo" == "bar"'' (the double eq sign is
not supported by /bin/sh).
- Add CONFIGURE_ENV stuff or it will not working if it's install in
the different prefix.
- Do not extract libltdl to ensure that it will using system one.
- Kill, kill, kill the ^M.
- Respect more on ${PTHREAD_LIBS} (ie: kill the hardcore of -lc_r)
- Add autocheck on ImageMagick and libvorbis, which its configure
will doing the autochecks then enable the plugins by automatic.
It fixes the plist and dependency.
- Add strnlen() function, a non-standard, that is not exist in
FreeBSD libc, which is need for the libextractor_png.so. Without
it, evidence will complaining like this:
/libexec/ld-elf.so.1: /usr/local/lib/libextractor/libextractor_png.so:
Undefined symbol "strnlen"
- Bump the PORTREVISION.
Reported by: tmclaugh (strnlen function stuff)
Reviewed by: jylefort
Approved by: kevlo (maintainer)