Mercurial > mxe-octave
view src/pstoedit-2-gs.patch @ 4950:1dc692fb6187
* installer-files/README.html: change version to 5.0
author | John Donoghue |
---|---|
date | Tue, 05 Feb 2019 12:05:47 -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}