Newer PoDoFo packages require and are built with C++11 standard
We thus do the same for faxcover so we can compile against these
newer packages. We also make sure to only link faxcover against
the PoDoFo library.
PKG_ARCH
PKG_EMAIL
PKG_VENDOR
+PODOFOINC
PORTFUNCS
PROTOTYPES
PSPACKAGE PS
LIBUTIL = @LIBUTIL@
LIBCRYPT = @LIBCRYPT@
+#PoDoFo libraries
+LIBPODOFO = @LIBPODOFO@
+PODOFOINC = @PODOFOINC@
+
#
# Definitions used by common rules.
#
SUBDIR=faxcover
@MAKEINCLUDE@ @MAKELQUOTE@${DEPTH}/defs@MAKERQUOTE@
+LC++INCS = ${PODOFOINC}
+VLDLIBS = ${LIBPODOFO}
+
C++FILES= faxcover.c++
TARGETS = faxcover
--with-PATH_DPSRIP=%{faxspool}/bin/ps2fax \
--with-PATH_IMPRIP="" \
--with-SYSVINIT=%{initdir}/hylafax \
+%if 0%{rhel} == 7
+ --with-PODOFOINC="-std=c++11" \
+%endif
--with-INTERACTIVE=no
# CFLAGS is set up by the HylaFAX configure script; setting it up here the