Patch to add /usr/lib64 to the library search path.
This commit is contained in:
parent
3d5358685a
commit
ceae77fb6f
12
Alien-wxWidgets-0.21-Any_wx_config.pm.patch
Normal file
12
Alien-wxWidgets-0.21-Any_wx_config.pm.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN Alien-wxWidgets-0.21-orig/inc/My/Build/Any_wx_config.pm Alien-wxWidgets-0.21/inc/My/Build/Any_wx_config.pm
|
||||
--- Alien-wxWidgets-0.21-orig/inc/My/Build/Any_wx_config.pm 2006-08-27 16:21:49.000000000 +0100
|
||||
+++ Alien-wxWidgets-0.21/inc/My/Build/Any_wx_config.pm 2006-10-01 02:27:40.000000000 +0100
|
||||
@@ -116,7 +116,7 @@
|
||||
}
|
||||
|
||||
my @paths = ( ( map { s/^-L//; $_ } grep { /^-L/ } split ' ', $libs ),
|
||||
- qw(/usr/local/lib /usr/lib) );
|
||||
+ qw(/usr/local/lib /usr/lib /usr/lib64) );
|
||||
|
||||
foreach ( split /\s+/, $libs ) {
|
||||
m{^-[lL]|/} && do { $config{link_libraries} .= " $_"; next; };
|
@ -1,12 +1,13 @@
|
||||
Name: perl-Alien-wxWidgets
|
||||
Version: 0.21
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Building, finding and using wxWidgets binaries
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Alien-wxWidgets/
|
||||
Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Alien-wxWidgets-%{version}.tar.gz
|
||||
Patch0: Alien-wxWidgets-0.21-Any_wx_config.pm.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: wxGTK-devel
|
||||
@ -22,6 +23,7 @@ settings from an installed wxWidgets.
|
||||
|
||||
%prep
|
||||
%setup -q -n Alien-wxWidgets-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
|
||||
%build
|
||||
@ -51,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
|
||||
- Patch to add /usr/lib64 to the library search path.
|
||||
|
||||
* Thu Sep 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
|
||||
- This is a binary RPM (see bug #208007 comment #2).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user