[packages/gtatool] - fix building netpbm module - rel 11

baggins baggins at pld-linux.org
Mon Oct 17 19:40:38 CEST 2016


commit 851b9a47a0f0325e4625c2a1cbf59f6bef95e8ab
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 17 19:40:17 2016 +0200

    - fix building netpbm module
    - rel 11

 gtatool.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtatool.spec b/gtatool.spec
index 66e399a..283099f 100644
--- a/gtatool.spec
+++ b/gtatool.spec
@@ -24,7 +24,7 @@ Summary:	Tools to manipulate Generic Tagged Array (GTA) files
 Summary(pl.UTF-8):	Narzędzia do obróbki plików GTA (ogólnych tablic etykietowanych)
 Name:		gtatool
 Version:	2.0.1
-Release:	10
+Release:	11
 License:	GPL v3+
 Group:		Applications/File
 Source0:	http://download.savannah.gnu.org/releases/gta/%{name}-%{version}.tar.xz
@@ -295,6 +295,10 @@ Bashowe uzupełnianie parametrów programu gtatool.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+%if %{with netpbm}
+export CFLAGS="%{rpmcflags} -I/usr/include/netpbm"
+export CXXFLAGS="%{rpmcxxflags} -I/usr/include/netpbm"
+%endif
 %configure \
 	BASHCOMPLETIONDIR=%{bash_compdir} \
 	--disable-silent-rules \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtatool.git/commitdiff/851b9a47a0f0325e4625c2a1cbf59f6bef95e8ab



More information about the pld-cvs-commit mailing list