diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-07 12:56:54 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-07 12:56:54 +0000 |
commit | e08992547b2379f1ca12e6879eceaa9c7753b759 (patch) | |
tree | ac3fb5020cf78213b114cab2a7d2d12d9b8af74e /sci-libs | |
parent | Add as-is and X11 to LICENSE for oldXMenu und etc/rgb.txt, respectively. (diff) | |
download | historical-e08992547b2379f1ca12e6879eceaa9c7753b759.tar.gz historical-e08992547b2379f1ca12e6879eceaa9c7753b759.tar.bz2 historical-e08992547b2379f1ca12e6879eceaa9c7753b759.zip |
Fixed for parallel build
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/pgplot/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/pgplot/Manifest | 12 | ||||
-rw-r--r-- | sci-libs/pgplot/files/pgplot-makemake.patch | 66 | ||||
-rw-r--r-- | sci-libs/pgplot/pgplot-5.2.2-r3.ebuild | 21 |
4 files changed, 77 insertions, 28 deletions
diff --git a/sci-libs/pgplot/ChangeLog b/sci-libs/pgplot/ChangeLog index d3c019b8c78f..b4672be95a3c 100644 --- a/sci-libs/pgplot/ChangeLog +++ b/sci-libs/pgplot/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/pgplot # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/ChangeLog,v 1.14 2008/11/05 21:50:18 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/ChangeLog,v 1.15 2008/11/07 12:56:54 bicatali Exp $ + + 07 Nov 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> + files/pgplot-makemake.patch, pgplot-5.2.2-r3.ebuild: + Fixed for parallel build *pgplot-5.2.2-r3 (05 Nov 2008) diff --git a/sci-libs/pgplot/Manifest b/sci-libs/pgplot/Manifest index 40de68413318..68b741026769 100644 --- a/sci-libs/pgplot/Manifest +++ b/sci-libs/pgplot/Manifest @@ -4,17 +4,17 @@ Hash: SHA1 AUX pgplot-compile-setup.patch 3078 RMD160 657603774f58429b889dfcdeb814812f8499dfc4 SHA1 6835488ea7427b9c029c3df40b14c7d2f99fcd1d SHA256 840bb9977cd61705a459a9c11d0b7c53440539132d3e3538d901c4a441d1909f AUX pgplot-drivers.patch 7431 RMD160 d300ecf9d5ed3b3117465330e4c235a3f17d0540 SHA1 d1cd686dd0f93b7550affe1e0d4d36f0a336b440 SHA256 19cabb29fd05c2c44cbb0492167ee3e45ab8890390b1e98de672f2ca2588baed AUX pgplot-headers.patch 2716 RMD160 aaad73bfbea9b4f731346a02c390e0adc318f8d0 SHA1 e6b95497b519a5450a24bb5997e18019c73e33eb SHA256 e92a07e38fff278218c09b84453d5c75be663576bdbe19ed9259615bd7a0be7c -AUX pgplot-makemake.patch 2975 RMD160 93fa93c31441d34644cfd474de42a7d1236438f7 SHA1 0e67adc710bdc6712578e4f116c55791dcc18a47 SHA256 e31ec6dde6a6701213a44655b933e584617b687e74a8305b81c9a0c6806a14be +AUX pgplot-makemake.patch 4417 RMD160 1048def60e9d1bbab675e58269d0cc4fef78cda6 SHA1 b00da00521863239f1c32df5d48012cf89777eb3 SHA256 2e9515c5154da98cb385e8d56b9b106c0415aed268ce5d366d37b12a97ade4aa AUX pgplot-pgdisp.patch 332 RMD160 1bd3c2ed7770bb60be19c50c4610c35d67bf92e9 SHA1 891475823d011156aa919fc2b844d1786ae6d85f SHA256 3aac6127d35f4039023a13182553b24e1902d6e1b46530fbd68e034357d0b078 DIST pgplot522.tar.gz 1197397 RMD160 4c21cad6613772f4104c65ac3d8d9a42e3c4afe1 SHA1 1f1c9aa17eeec9a2fb23fd15a0e4a91dcc49ddc1 SHA256 a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4 EBUILD pgplot-5.2.2-r2.ebuild 4865 RMD160 4e8945c277ea152e07453cd807d5613f27ab1f5a SHA1 5130d185715002ed41d37445e06270f5275e5d0f SHA256 f035308c3a65fc728ab279eb53aa769dec58fa9e5862be2f89ff676360e49841 -EBUILD pgplot-5.2.2-r3.ebuild 4631 RMD160 e70008606e4ce3f90a5312a4cbd47298598d2f14 SHA1 38bb7a72950a9f9ddae90070f97c144285a8766d SHA256 c33e6155e0279866aa86ca100516f69a4f22d830b0e8ab734d7ca82e630106a2 -MISC ChangeLog 2919 RMD160 a05897df69ce2e2c6ccda8fe8de899f54b22aced SHA1 877864c0bbdc3c1b1337f5ec22f04d9b4239a3da SHA256 22bd4412daadcaa3bed184c2703abfc634a45461e47116b5fcec0bfb05443750 +EBUILD pgplot-5.2.2-r3.ebuild 4588 RMD160 e5286a7d321ae345cc75f45308888bce4e40ab24 SHA1 159dad308d3ab87f6e4d90d21f1fda4405e00fcd SHA256 e4163998dac300f3f8fd301f9ee41f651bbce1e4f5b44917ba1036ab172952bf +MISC ChangeLog 3057 RMD160 f5bd1eeba073c480033b3f8fe10fd8fc2803cec2 SHA1 4ead66c0d86dfbdd72ae774ad0a30cb091df32d9 SHA256 dfe50ed99b6f1bc55f55da1059e23a79c1fbd454b1cb970effda7d7786f56652 MISC metadata.xml 507 RMD160 8f89aef225b3c7fa4b817bd88ebfa5e73c9f1f4f SHA1 93061e1e4b6fa0967fec2829db49dbcaa74b6410 SHA256 44c0abf74199b2c4780cd7bf4bbc9b7c235ccc5e74e262985517ec8ade97189c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkkSFSIACgkQ1ycZbhPLE2CVxQCeK5sMBgGSmHxP5j22bmhtPdm/ -M30AmwbXZnHE7/LO8AqVF/aMnGMcSYEQ -=41Us +iEYEARECAAYFAkkUOyAACgkQ1ycZbhPLE2BAsQCdEkfbm6JSDHSdsSwApFHjkNSQ +8+oAn3Ndfh9/fRitsBfCx2HcG8bkTKQr +=Al7V -----END PGP SIGNATURE----- diff --git a/sci-libs/pgplot/files/pgplot-makemake.patch b/sci-libs/pgplot/files/pgplot-makemake.patch index 9ee0d6168e21..667ce2f1ee86 100644 --- a/sci-libs/pgplot/files/pgplot-makemake.patch +++ b/sci-libs/pgplot/files/pgplot-makemake.patch @@ -1,5 +1,35 @@ ---- makemake.orig 2008-10-29 15:32:12.000000000 +0000 -+++ makemake 2008-10-29 20:08:59.000000000 +0000 +--- makemake.orig 2008-11-07 12:53:03.000000000 +0000 ++++ makemake 2008-11-07 12:52:33.000000000 +0000 +@@ -73,7 +73,7 @@ + + # List the default make targets. + +-DEFAULT_TARGETS="lib grfont.dat prog pgplot.doc" ++DEFAULT_TARGETS="lib grfont.dat pgplot.doc" + + # Get the configuration variables. + +@@ -199,17 +199,17 @@ + fi + + if (echo $DRIV_LIST | grep -s xmdriv 2>&1 1>/dev/null); then +- DEFAULT_TARGETS="$DEFAULT_TARGETS libXmPgplot.a pgmdemo" ++ DEFAULT_TARGETS="$DEFAULT_TARGETS libXmPgplot.a" + INSTALL_LIST="$INSTALL_LIST libXmPgplot.a XmPgplot.h" + fi + + if (echo $DRIV_LIST | grep -s xadriv 2>&1 1>/dev/null); then +- DEFAULT_TARGETS="$DEFAULT_TARGETS libXaPgplot.a pgawdemo" ++ DEFAULT_TARGETS="$DEFAULT_TARGETS libXaPgplot.a" + INSTALL_LIST="$INSTALL_LIST libXaPgplot.a XaPgplot.h" + fi + + if (echo $DRIV_LIST | grep -s tkdriv 2>&1 1>/dev/null); then +- DEFAULT_TARGETS="$DEFAULT_TARGETS libtkpgplot.a pgtkdemo pgtkdemo.tcl" ++ DEFAULT_TARGETS="$DEFAULT_TARGETS libtkpgplot.a" + INSTALL_LIST="$INSTALL_LIST libtkpgplot.a tkpgplot.h" + fi + @@ -622,7 +622,7 @@ # Fortran compiler and compilation flags # @@ -18,16 +48,18 @@ CFLAGD=$CFLAGD MCOMPL=$MCOMPL MFLAGC=$MFLAGC -@@ -658,6 +658,8 @@ +@@ -657,7 +657,10 @@ + # Shared library creation. # SHARED_LIB=$SHARED_LIB ++SHARED_CLIB=$SHARED_CLIB SHARED_LD=$SHARED_LD +SHARED_LD_PGPLOT_OPTS=$SHARED_LD_PGPLOT_OPTS +SHARED_LD_CPGPLOT_OPTS=$SHARED_LD_CPGPLOT_OPTS # # The libraries that the shared PGPLOT library depends upon. # This is for systems that allow one to specify what libraries -@@ -806,7 +808,8 @@ +@@ -806,7 +809,8 @@ # libraries. #----------------------------------------------------------------------- @@ -37,7 +69,7 @@ libpgplot.a : $(PG_ROUTINES) $(PG_NON_STANDARD) $(GR_ROUTINES) \ $(DISPATCH_ROUTINE) $(DRIVERS) $(SYSTEM_ROUTINES) -@@ -816,6 +819,16 @@ +@@ -816,6 +820,16 @@ $(DRIVERS) $(SYSTEM_ROUTINES) | sort | uniq` $(RANLIB) libpgplot.a @@ -50,11 +82,11 @@ + $(SHARED_LD) $(SHARED_LD_PGPLOT_OPTS) `ls $(PG_ROUTINES) \ + $(PG_NON_STANDARD) $(GR_ROUTINES) $(DISPATCH_ROUTINE) \ + $(DRIVERS) $(SYSTEM_ROUTINES) | sort | uniq` $(SHARED_LIB_LIBS) -+ ++ ln -s $(SHARED_LIB) libpgplot.so EOD # Emit the shared library dependency if requested. -@@ -824,7 +837,7 @@ +@@ -824,7 +838,7 @@ cat >> makefile << \EOD $(SHARED_LIB): $(PG_ROUTINES) $(PG_NON_STANDARD) \ $(GR_ROUTINES) $(DISPATCH_ROUTINE) $(DRIVERS) $(SYSTEM_ROUTINES) @@ -63,7 +95,7 @@ $(PG_NON_STANDARD) $(GR_ROUTINES) $(DISPATCH_ROUTINE) \ $(DRIVERS) $(SYSTEM_ROUTINES) | sort | uniq` $(SHARED_LIB_LIBS) EOD -@@ -1025,7 +1038,7 @@ +@@ -1025,12 +1039,12 @@ grivas.o : $(DRVDIR)/gadef.h grtv00.o : $(DRVDIR)/imdef.h pgxwin.o : $(DRVDIR)/pgxwin.h @@ -72,7 +104,13 @@ x2driv.o figdisp_comm.o: $(DRVDIR)/commands.h -@@ -1039,6 +1052,8 @@ + +-cpg: libcpgplot.a cpgplot.h cpgdemo ++cpg: cpgplot.h libcpgplot.a + @echo ' ' + @echo '*** Finished compilation of the C PGPLOT wrapper library ***' + @echo ' ' +@@ -1039,17 +1053,29 @@ @echo 'will be needed.' @echo ' ' @@ -81,7 +119,14 @@ pgbind: $(SRC)/cpg/pgbind.c $(CCOMPL) $(CFLAGC) $(SRC)/cpg/pgbind.c -o pgbind -@@ -1050,6 +1065,13 @@ +-libcpgplot.a cpgplot.h: $(PG_SOURCE) pgbind ++cpgplot.h: $(PG_SOURCE) pgbind + ./pgbind $(PGBIND_FLAGS) -h -w $(PG_SOURCE) ++ ++libcpgplot.a: cpgplot.h + $(CCOMPL) -c $(CFLAGC) cpg*.c + rm -f cpg*.c + ar ru libcpgplot.a cpg*.o $(RANLIB) libcpgplot.a rm -f cpg*.o @@ -90,6 +135,7 @@ + $(CCOMPL) -c $(CFLAGC) cpg*.c + rm -f cpg*.c + $(SHARED_LD) $(SHARED_LD_CPGPLOT_OPTS) cpg*.o -lpgplot $(SHARED_LIB_LIBS) ++ ln -s $(SHARED_CLIB) libcpgplot.so + rm -f cpg*.o + cpgdemo: cpgplot.h $(SRC)/cpg/cpgdemo.c libcpgplot.a diff --git a/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild b/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild index 6c57570df1bd..d2d62720f09b 100644 --- a/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild +++ b/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild,v 1.1 2008/11/05 21:50:18 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild,v 1.2 2008/11/07 12:56:54 bicatali Exp $ inherit eutils toolchain-funcs fortran @@ -82,14 +82,15 @@ src_unpack() { src_compile() { ./makemake . linux - - emake all cpg || die "emake failed" + einfo "Doing static libs and execs" + emake all cpg || die "emake static failed" emake clean - einfo "Doing " + einfo "Doing shared libs" emake \ CFLAGS="${CFLAGS} -fPIC" \ FFLAGS="${FFLAGS} -fPIC" \ - shared cpg-shared || die "emake shared failed" + shared cpg-shared \ + || die "emake shared failed" if use doc; then emake pgplot.html || die "make pgplot.html failed" @@ -110,7 +111,7 @@ src_test() { # j can also be LATEX CPS... for j in NULL PNG PS CPS LATEX; do local testexe=./test_${j}_${i} - echo "./pgdemo${i} <<EOF" > ${testexe} + echo "LD_LIBRARY_PATH=. ./pgdemo${i} <<EOF" > ${testexe} echo "/${j}" >> ${testexe} echo "EOF" >> ${testexe} sh ${testexe} || die "test ${i} failed" @@ -120,20 +121,18 @@ src_test() { src_install() { insinto /usr/$(get_libdir)/pgplot - doins grfont.dat grexec.f *.inc rgb.txt + doins grfont.dat grexec.f *.inc rgb.txt || die # FORTRAN libs dolib.a libpgplot.a || die "dolib.a failed" - dolib.so libpgplot.so.5 || die "dolib.so failed" - dosym libpgplot.so.5 /usr/$(get_libdir)/libpgplot.so || die + dolib.so libpgplot.so* || die "dolib.so failed" dobin pgxwin_server pgdisp || die "dobin failed" # C binding insinto /usr/include doins cpgplot.h || die "doins C binding failed" dolib.a libcpgplot.a || die "dolib.a failed" - dolib.so libcpgplot.so.5 || die "dolib C failed" - dosym libcpgplot.so.5 /usr/$(get_libdir)/libcpgplot.so || die + dolib.so libcpgplot.so* || die "dolib C failed" if use motif; then doins XmPgplot.h || die "doins motif failed" |