[packages/perl-Filesys-SmbClient] - fix makeing Makefile and passing our CFLAGS

baggins baggins at pld-linux.org
Mon Sep 15 19:54:17 CEST 2014


commit 383cda35e11d90f0f8909caade3bd0b98e341b2c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 15 19:53:55 2014 +0200

    - fix makeing Makefile and passing our CFLAGS

 perl-Filesys-SmbClient.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/perl-Filesys-SmbClient.spec b/perl-Filesys-SmbClient.spec
index 8a8b05d..95cc289 100644
--- a/perl-Filesys-SmbClient.spec
+++ b/perl-Filesys-SmbClient.spec
@@ -44,13 +44,12 @@ systemu plików Samby.
 %build
 %{__autoconf}
 %configure
-%{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"Filesys::SmbClient",
-	OBJECT=>"libauthSamba.o SmbClient.o", LIBS=>["-lsmbclient"],
-	VERSION_FROM=>"SmbClient.pm")' \
+%{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
+
 %{__make} \
 	CC="%{__cc}" \
-	OPTIMIZE="%{rpmcflags} `pkg-config --cflags smbclient`"
+	CFLAGS="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Filesys-SmbClient.git/commitdiff/383cda35e11d90f0f8909caade3bd0b98e341b2c



More information about the pld-cvs-commit mailing list