[packages/mtpaint] - rel 6; build fixed

arekm arekm at pld-linux.org
Fri Nov 8 10:16:59 CET 2013


commit 74ff9e45d6aefcfaa66d8e7a70dd8ba5cfccc151
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 8 10:16:56 2013 +0100

    - rel 6; build fixed

 mtpaint.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/mtpaint.spec b/mtpaint.spec
index 17ca675..87e2cca 100644
--- a/mtpaint.spec
+++ b/mtpaint.spec
@@ -2,7 +2,7 @@ Summary:	A simple painting program
 Summary(pl.UTF-8):	Prosty program graficzny
 Name:		mtpaint
 Version:	3.40
-Release:	5
+Release:	6
 License:	GPL v3+
 Group:		X11/Applications/Graphics
 Source0:	http://dl.sourceforge.net/mtpaint/%{name}-%{version}.tar.bz2
@@ -39,9 +39,9 @@ Prosty program graficzny oparty na bibliotece GTK+.
 ./configure gtk2 thread GIF man pod intl jpeg jp2 tiff \
 	--mandir=%{_mandir}/man1 \
 	--prefix=%{_prefix}
-cat >> _conf.txt <<'EOF'
+cat >> _conf.txt <<EOF
 LDFLAG += %{rpmldflags}
-CFLAG  += %{rpmcflags}
+CFLAG  += %{rpmcflags} $(pkg-config --cflags-only-I libopenjpeg1)
 CC = %{__cc} -Wall -Wno-pointer-sign
 EOF
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mtpaint.git/commitdiff/74ff9e45d6aefcfaa66d8e7a70dd8ba5cfccc151



More information about the pld-cvs-commit mailing list