Group :: Sistema/Bibliotecas
RPM: libpgf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: libpgf-auto.patch
Download
Download
diff -up libpgf/configure.ac.auto libpgf/configure.ac
--- libpgf/configure.ac.auto 2014-03-21 07:51:59.000000000 -0600
+++ libpgf/configure.ac 2015-02-23 12:28:53.125766559 -0700
@@ -1,4 +1,5 @@
-AC_INIT(src/PGFimage.cpp)
+AC_INIT([libpgf], [6.14.12])
+AC_CONFIG_SRCDIR([src/PGFimage.cpp])
dnl The library interface version
dnl see documentation for versioning in the libtool manual
@@ -24,9 +25,10 @@ PACKAGE_RELEASE=2
AC_SUBST(PACKAGE_RELEASE)
-AM_INIT_AUTOMAKE(libpgf,6.14.12)
+AM_INIT_AUTOMAKE
AC_PROG_LIBTOOL
-AC_CONFIG_HEADERS( config.h )
+AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_HEADERS( [config.h] )
AC_PROG_CXX
dnl Check for doxygen support
diff -up libpgf/Makefile.am.auto libpgf/Makefile.am
--- libpgf/Makefile.am.auto 2013-10-25 05:24:18.000000000 -0600
+++ libpgf/Makefile.am 2015-02-23 12:26:04.338856680 -0700
@@ -19,6 +19,8 @@ RPMEXTRACONFOPT="--disable-dependency-tr
RPMRELEASE=$(PACKAGE_RELEASE)
+ACLOCAL_AMFLAGS = -I m4
+
install-data-local:: $(PACKAGE).pc
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL) -m 644 $(PACKAGE).pc $(DESTDIR)$(libdir)/pkgconfig/$(PACKAGE).pc
diff -up libpgf/src/Makefile.am.auto libpgf/src/Makefile.am
--- libpgf/src/Makefile.am.auto 2013-10-25 05:24:17.000000000 -0600
+++ libpgf/src/Makefile.am 2015-02-23 12:26:04.338856680 -0700
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/include # @PGFCODEC_CFLAGS@
+AM_CPPFLAGS = -I$(top_srcdir)/include # @PGFCODEC_CFLAGS@
lib_LTLIBRARIES = libpgf.la
libpgf_la_LDFLAGS = -version-info @INTERFACE_VERSION@