[packages/perl-AcePerl] switch to TI-RPC

atler atler at pld-linux.org
Tue May 11 17:18:02 CEST 2021


commit 0d1526a6a10a6adf8ce41a5fead0c05ddbb39167
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 11 17:17:19 2021 +0200

    switch to TI-RPC

 perl-AcePerl.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/perl-AcePerl.spec b/perl-AcePerl.spec
index 92f0b42..e062c0f 100644
--- a/perl-AcePerl.spec
+++ b/perl-AcePerl.spec
@@ -13,12 +13,17 @@ Patch0:		%{name}-defaults.patch
 Patch1:		%{name}-path.patch
 URL:		http://search.cpan.org/dist/AcePerl/
 BuildRequires:	cpp
+BuildRequires:	libtirpc-devel
 BuildRequires:	perl-Digest-MD5
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	pkgconfig
+BuildRequires:	rpcsvc-proto
 BuildRequires:	rpm-perlprov >= 4.1-13
 Requires:	perl-GD
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		tirpccflags	%(pkg-config --cflags libtirpc)
+
 %description
 AcePerl provides an interface to the ACEDB object-oriented database.
 Designed specifically for use in genome sequencing projects, ACEDB
@@ -71,7 +76,7 @@ cd RPC
 %{__make} -C ../acelib rpcace.h
 %{__make} \
 	OPTIMIZE="%{rpmcflags}" \
-	COMPILER="%{__cc} -DACEDB4 %{rpmcflags} -fPIC"
+	COMPILER="%{__cc} -DACEDB4 %{rpmcflags} -fPIC %{tirpccflags}"
 cd ../Freesubs
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-AcePerl.git/commitdiff/0d1526a6a10a6adf8ce41a5fead0c05ddbb39167



More information about the pld-cvs-commit mailing list