ports/print/ghostscript10/files/patch-configure
Michael Osipov eae03f41a0 print/ghostscript10: update port to 10.02.0
* Exclude bundled libexpat
* Link against external libtesseract and libleptonica on request

Changelog: https://ghostscript.readthedocs.io/en/gs10.02.0/News.html

PR:		272541
2023-09-15 21:12:25 +09:00

16 lines
594 B
Text

--- configure.orig 2022-04-04 13:48:49 UTC
+++ configure
@@ -13383,7 +13383,12 @@ if test "${enable_dynamic+set}" = set; then :
DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
;;
*bsd*)
- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
+ INSTALL_SHARED="install-shared"
+ if test "x$X_DEVS" != x; then
+ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
+ else
+ DYNAMIC_DEVS=""
+ fi
DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
X11_DEVS=""
OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"