view src/pstoedit-2-gs.patch @ 4545:0e56fe2d2ef5

Makefile.in: add update-build-tools target * Makefile.in: add update-build-tools target * src/build-autoconf.mk, src/build-automake.mk, src/build-bison.mk, src/build-gawk.mk, src/build-gcc.mk, src/build-gettext.mk, src/build-gperf.mk, src/build-m4.mk, src/build-texinfo.mk, src/build-libtool.mk : update PKG_UPDATE for getting latest version from gnu.org * src/build-cmake.mk, src/build-flex.mk, src/build-lzip.mk, src/build-pkg-config.mk, src/pkg-config.mk, src/build-scons.mk : add implemented PKG_UPDATE macro
author John Donoghue <john.donoghue@ieee.org>
date Thu, 23 Nov 2017 12:05:29 -0500
parents ea3cab4018c5
children 3c5634c6a422
line wrap: on
line source

diff -ur pstoedit-3.70.orig/configure.ac pstoedit-3.70/configure.ac
--- pstoedit-3.70.orig/configure.ac	2015-02-27 13:34:44.538158342 -0500
+++ pstoedit-3.70/configure.ac	2015-02-27 15:12:27.821126740 -0500
@@ -53,12 +53,12 @@
 dnl Check Ghostscript
 GS=""
 AC_PATH_PROG(GS,gs)
-if test -z "${GS}"; then
-   AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.])
-else
-dnl Strip off // to / that causes troubles.
-   GS=`echo $GS | sed -e 's/\/\//\//g'`	
-fi
+dnl if test -z "${GS}"; then
+dnl    AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.])
+dnl else
+dnl dnl Strip off // to / that causes troubles.
+dnl    GS=`echo $GS | sed -e 's/\/\//\//g'`	
+dnl fi
 
 PKG_PROG_PKG_CONFIG
 
diff -ur pstoedit-3.70.orig/src/Makefile.am pstoedit-3.70/src/Makefile.am
--- pstoedit-3.70.orig/src/Makefile.am	2015-02-27 13:34:45.004167901 -0500
+++ pstoedit-3.70/src/Makefile.am	2015-02-27 15:13:10.916976944 -0500
@@ -32,7 +32,7 @@
 	${LIBEMF_CFLAGS}			\
 	${LIBPNG_CFLAGS}			\
 	${LIBZIP_CFLAGS}			\
-        -DDEFAULTGS=$(GS)			\
+        -DDEFAULTGS="\"$(GS)\""			\
 	-DPSTOEDITDATADIR="\"$(pkgdatadir)\""	\
 	-DPSTOEDITLIBDIR="\"$(pkglibdir)\""	\
         ${SPECIAL_CXXFLAGS}