Mercurial > mxe-octave
view src/pstoedit-2-gs.patch @ 3726:1166dbbbe15c
build_packages.m: add helper function to install packages
* build_packages.m: add helper function to catch errors when installing packages.
author | John Donoghue |
---|---|
date | Tue, 28 Oct 2014 07:57:11 -0400 |
parents | 7bccd055043e |
children | ea3cab4018c5 |
line wrap: on
line source
diff -ur pstoedit-3.61-orig/configure.ac pstoedit-3.61/configure.ac --- pstoedit-3.61-orig/configure.ac 2012-08-28 06:46:41 -0400 +++ pstoedit-3.61/configure.ac 2013-07-05 23:29:38 -0400 @@ -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.62.orig/src/Makefile.am pstoedit-3.62/src/Makefile.am --- pstoedit-3.62.orig/src/Makefile.am 2014-06-03 12:53:10 -0400 +++ pstoedit-3.62/src/Makefile.am 2014-06-03 12:54:14 -0400 @@ -31,7 +31,7 @@ ${LIBMAGICK_CFLAGS} \ ${LIBEMF_CFLAGS} \ ${LIBPNG_CFLAGS} \ - -DDEFAULTGS=$(GS) \ + -DDEFAULTGS="\"$(GS)\"" \ -DPSTOEDITDATADIR="\"$(pkgdatadir)\"" \ -DPSTOEDITLIBDIR="\"$(pkglibdir)\"" \ ${SPECIAL_CXXFLAGS}