ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-dbd-oracle.spec
Revision: 1.11
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.10: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# Content
1 ### RPM external p5-dbd-oracle 1.17
2 Requires: gcc-wrapper
3 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
4 %define perlversion %(perl -e 'printf "%%vd", $^V')
5 %define perlarch %(perl -MConfig -e 'print $Config{archname}')
6 %define downloadn DBD-Oracle
7 Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/P/PY/PYTHIAN/%downloadn-%v.tar.gz
8
9 Requires: p5-dbi oracle
10 Provides: perl(Tk) perl(Tk::Balloon) perl(Tk::ErrorDialog) perl(Tk::FileSelect) perl(Tk::Pod) perl(Tk::ROText)
11
12 %prep
13 %setup -n %{downloadn}-%{v}
14
15 %build
16 ## IMPORT gcc-wrapper
17 patch Makefile.PL << \EOF
18 diff Makefile.PL.orig Makefile.PL
19 1407a1408
20 > "$OH/include", # Tim Barrass, hacked for OIC install from zips
21 EOF
22 %ifos darwin
23 [ $(uname) = Darwin ] perl -p -i -e 's/NMEDIT = nmedit/NMEDIT = true/' Makefile.PL
24 %endif
25
26 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion -l -m $ORACLE_HOME/demo/demo.mk
27 make
28 #