[packages/perl-Wx] - fixed wx variant selection

qboosh qboosh at pld-linux.org
Sun Jan 11 17:12:46 CET 2015


commit 335c9ce5cd9c640b85e575326a769f7abf30b0d9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 11 17:14:15 2015 +0100

    - fixed wx variant selection

 perl-Wx.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-Wx.spec b/perl-Wx.spec
index b1a3309..3314fdd 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -61,9 +61,10 @@ Pakiet do rozwijania oprogramowania przy użyciu wxPerla.
 %setup -q -n Wx-%{version}
 
 %build
-export WX_CONFIG=wx-gtk%{?with_gtk3:3}%{!?with_gtk3:2}-%{?with_unicode:unicode}%{!?with_unicode:ansi}-config
 %{__perl} Makefile.PL \
-	INSTALLDIRS=vendor
+	INSTALLDIRS=vendor \
+	--wx-toolkit=gtk%{!?with_gtk3:2} \
+	--%{!?with_unicode:no-}wx-unicode
 %{__make} \
 	CC="%{__cxx}" \
 	OPTIMIZE="%{rpmcflags}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Wx.git/commitdiff/335c9ce5cd9c640b85e575326a769f7abf30b0d9



More information about the pld-cvs-commit mailing list