Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276065 Details for
Bug 301049
[science overlay] dev-java/hdf-java-2.6.ebuild new package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for hdf-java-2.7
hdf-java-2.7-shared.patch (text/plain), 3.67 KB, created by
Guillaume Horel
on 2011-06-06 23:54:26 UTC
(
hide
)
Description:
Patch for hdf-java-2.7
Filename:
MIME Type:
Creator:
Guillaume Horel
Created:
2011-06-06 23:54:26 UTC
Size:
3.67 KB
patch
obsolete
>diff -urN hdf-java-orig//configure.in hdf-java/configure.in >--- hdf-java-orig//configure.in 2011-06-05 11:16:43.994220406 -0400 >+++ hdf-java/configure.in 2011-06-05 13:22:41.105221882 -0400 >@@ -177,7 +177,7 @@ > *) > if test -n "$withval" ; then > z_lib="`echo $withval |cut -f2 -d, -s`" >- ZLIB=$z_lib"/libz."$LLEXT >+ ZLIB="-L$z_lib -lz" > HAVE_ZLIB="yes" > else > ZLIB="" >@@ -211,7 +211,7 @@ > *) > if test -n "$withval" ; then > jpeg_lib="`echo $withval |cut -f2 -d, -s`" >- JPEGLIB=$jpeg_lib"/libjpeg."$LLEXT >+ JPEGLIB="-L$jpeg_lib -ljpeg" > dnl AC_MSG_RESULT([jpeg found: $JPEGLIB]); > HAVE_JPEG="yes" > else >@@ -246,7 +246,7 @@ > *) > if test -n "$withval" ; then > sz_lib="`echo $withval |cut -f2 -d, -s`" >- SZLIB=$sz_lib"/libsz."$LLEXT >+ SZLIB="-L$sz_lib -lsz" > dnl AC_MSG_RESULT([szlib found: $SZLIB]); > HAVE_SZIP="yes" > else >@@ -302,7 +302,7 @@ > ;; > esac > if test -n "$HDF4LIB"; then >- LIBS="$HDF4LIB/libdf.$LLEXT $HDF4LIB/libmfhdf.$LLEXT $LIBS" >+ LIBS="-L$HDF4LIB -ldf -lmhdf $LIBS" > HAVE_HDF4="yes" > fi > AC_MSG_RESULT([$HAVE_HDF4]) >@@ -363,7 +363,7 @@ > *) > if test -n "$withval" ; then > hdf5_lib="`echo $withval |cut -f2 -d, -s`" >- HDF5LIB=$hdf5_lib"/libhdf.$LLEXT" >+ HDF5LIB="-L$hdf5_lib -lhdf" > hdf5_inc="`echo $withval |cut -f1 -d,`" > if test -n "$hdf5_inc"; then > HDF5INC="$hdf5_inc" >@@ -380,7 +380,7 @@ > ;; > esac > if test -n "$HDF5LIB"; then >- LIBS="$HDF5LIB/libhdf5.$LLEXT $LIBS" >+ LIBS="-L$HDF5LIB -lhdf5 $LIBS" > HAVE_HDF5="yes" > fi > AC_MSG_RESULT([$HAVE_HDF5]) >@@ -628,10 +628,6 @@ > if test \( ! -d "$JH45INST" \); then > JH45INST_FOUND=0 > fi >- if test \( ! -w "$JH45INST" \); then >- AC_MSG_ERROR( [ $JAVINST : not writable ]) >- JH45INST_FOUND=0 >- fi > fi > until test $JH45INST_FOUND -eq 1; do > echo "Please type the directory in which to install the JH45" >diff -urN hdf-java-orig//native/hdf5lib/Makefile.in hdf-java/native/hdf5lib/Makefile.in >--- hdf-java-orig//native/hdf5lib/Makefile.in 2011-06-05 11:16:43.993220406 -0400 >+++ hdf-java/native/hdf5lib/Makefile.in 2011-06-05 11:53:54.345220842 -0400 >@@ -35,7 +35,7 @@ > > CFLAGS = -D_FILE_OFFSET_BITS=64 $(DEFS) -I. -I$(HDF5INC) -I$(JAVAINC1) -I$(JAVAINC2) > >-LIBS = $(HDF5LIB)/libhdf5.$(LLEXT) $(ZLIB) $(SZLIB) -lm >+LIBS = -L$(HDF5LIB) -lhdf5 $(ZLIB) $(SZLIB) -lm > > # Macro def: object filename used > OBJECTS = exceptionImp.o h5Constants.o h5Imp.o h5aImp.o h5dImp.o h5eImp.o h5fImp.o h5gImp.o h5iImp.o h5lImp.o h5oImp.o h5pImp.o h5rImp.o h5sImp.o h5tImp.o nativeData.o h5util.o h5zImp.o >@@ -47,7 +47,7 @@ > > libjhdf5: $(OBJECTS) > -mkdir -p $(LIBDIR); >- $(LD) $(LDOPT) -o $(LIBDIR)/libjhdf5.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS) >+ $(LD) $(LDOPT) $(LDFLAGS) -o $(LIBDIR)/libjhdf5.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS) > > clean: > $(RM) -f *.o so_locations $(LIBDIR)/libjhdf5.$(JSLEXT) >diff -urN hdf-java-orig//native/hdflib/Makefile.in hdf-java/native/hdflib/Makefile.in >--- hdf-java-orig//native/hdflib/Makefile.in 2011-06-05 11:16:43.992220406 -0400 >+++ hdf-java/native/hdflib/Makefile.in 2011-06-05 11:49:39.621220792 -0400 >@@ -41,7 +41,7 @@ > CFLAGS = $(DEFS) -I. -I$(JAVAINC1) -I$(JAVAINC2) -I$(HDFINC) > > # Be sure to add -lbsd if compiling in a SYSV environment >-LIBS = $(HDFLIB)/libmfhdf.$(LLEXT) $(HDFLIB)/libdf.$(LLEXT) $(SZLIB) $(ZLIB) $(JPEGLIB) -lm >+LIBS = -L$(HDFLIB) -lmfhdf -ldf $(SZLIB) $(ZLIB) $(JPEGLIB) -lm > > # Macro def: object filename used > OBJECTS = hdfstructsutil.o \ >@@ -60,7 +60,7 @@ > > libjhdf: $(OBJECTS) > -mkdir -p $(LIBDIR); >- $(LD) $(LDOPT) -o $(LIBDIR)/libjhdf.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS) >+ $(LD) $(LDOPT) $(LDFLAGS) -o $(LIBDIR)/libjhdf.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS) > > clean: > $(RM) -f *.o so_locations $(LIBDIR)/libjhdf.$(JSLEXT)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301049
:
216565
|
217541
|
217542
|
276063
| 276065