mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add simple wrapper to avoid the error
/usr/libexec/ld-elf.so.1: Shared object "liboctinterp.so" not found PR: 54567,54653 Submitted by: Jonathan <j.e.drews@worldnet.att.net>
This commit is contained in:
parent
2a3231a7ab
commit
b85aa01a83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85496
@ -36,8 +36,7 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST}
|
|||||||
BLAS_LIBS= "-L${LOCALBASE}/lib -lf77blas -latlas"
|
BLAS_LIBS= "-L${LOCALBASE}/lib -lf77blas -latlas"
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
INSTALLS_SHLIB= yes
|
USE_REINPLACE= yes
|
||||||
LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}-${PORTVERSION}
|
|
||||||
|
|
||||||
CONFIGURE_ARGS= --host=${GNU_HOST} \
|
CONFIGURE_ARGS= --host=${GNU_HOST} \
|
||||||
--with-fftw --with-blas=${BLAS_LIBS} --with-lpack \
|
--with-fftw --with-blas=${BLAS_LIBS} --with-lpack \
|
||||||
@ -59,9 +58,14 @@ MAN1= octave.1 octave-bug.1 mkoctfile.1 octave-config.1
|
|||||||
post-extract:
|
post-extract:
|
||||||
@${RM} -f ${WRKSRC}/doc/interpreter/octave.info*
|
@${RM} -f ${WRKSRC}/doc/interpreter/octave.info*
|
||||||
@${RM} -f ${WRKSRC}/doc/liboctave/liboctave.info*
|
@${RM} -f ${WRKSRC}/doc/liboctave/liboctave.info*
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
$(INSTALL_DATA) $(WRKSRC)/doc/liboctave/liboctave.info $(PREFIX)/info
|
${RM} ${PREFIX}/bin/octave
|
||||||
|
@${CP} ${FILESDIR}/octave ${WRKDIR}
|
||||||
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g ; \
|
||||||
|
s,%%OCTAVE_VERSION%%,${OCTAVE_VERSION},g' \
|
||||||
|
${WRKDIR}/octave
|
||||||
|
${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/liboctave.info ${PREFIX}/info
|
||||||
install-info --entry='* Octave: (octave). Interactive language for numerical computations.' $(PREFIX)/info/octave.info $(PREFIX)/info/dir
|
install-info --entry='* Octave: (octave). Interactive language for numerical computations.' $(PREFIX)/info/octave.info $(PREFIX)/info/dir
|
||||||
install-info --entry='* LibOctave: (liboctave). C++ class library for Octave.' $(PREFIX)/info/liboctave.info $(PREFIX)/info/dir
|
install-info --entry='* LibOctave: (liboctave). C++ class library for Octave.' $(PREFIX)/info/liboctave.info $(PREFIX)/info/dir
|
||||||
.ifndef NOPORTDOCS
|
.ifndef NOPORTDOCS
|
||||||
|
8
math/octave-devel/files/octave
Normal file
8
math/octave-devel/files/octave
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
OCTAVE_EXEC=%%PREFIX%%/bin/octave-%%OCTAVE_VERSION%%
|
||||||
|
LD_LIBRARY_PATH=%%PREFIX%%/lib/octave-%%OCTAVE_VERSION%%; export LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
exec $OCTAVE_EXEC "$@"
|
@ -290,8 +290,6 @@ include/octave-%%OCTAVE_VERSION%%/octave/vx-s-ccv.h
|
|||||||
include/octave-%%OCTAVE_VERSION%%/octave/vx-s-crv.h
|
include/octave-%%OCTAVE_VERSION%%/octave/vx-s-crv.h
|
||||||
include/octave-%%OCTAVE_VERSION%%/octave/xdiv.h
|
include/octave-%%OCTAVE_VERSION%%/octave/xdiv.h
|
||||||
include/octave-%%OCTAVE_VERSION%%/octave/xpow.h
|
include/octave-%%OCTAVE_VERSION%%/octave/xpow.h
|
||||||
@exec /bin/ln -sf %D/include/octave-%%OCTAVE_VERSION%%/octave %D/include/octave
|
|
||||||
@unexec /bin/rm -f %D/include/octave
|
|
||||||
@unexec install-info --delete --entry='* Octave: (octave). Interactive language for numerical computations.' %D/info/octave.info %D/info/dir
|
@unexec install-info --delete --entry='* Octave: (octave). Interactive language for numerical computations.' %D/info/octave.info %D/info/dir
|
||||||
@unexec install-info --delete --entry='* LibOctave: (liboctave). C++ class library for Octave.' %D/info/liboctave.info %D/info/dir
|
@unexec install-info --delete --entry='* LibOctave: (liboctave). C++ class library for Octave.' %D/info/liboctave.info %D/info/dir
|
||||||
info/octave.info
|
info/octave.info
|
||||||
@ -384,12 +382,12 @@ libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/svd.oct
|
|||||||
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/syl.oct
|
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/syl.oct
|
||||||
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/time.oct
|
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/time.oct
|
||||||
libexec/octave/ls-R
|
libexec/octave/ls-R
|
||||||
share/doc/octave/Octave-FAQ.ps
|
%%PORTDOCS%%%%DOCSDIR%%/Octave-FAQ.ps
|
||||||
share/doc/octave/liboctave.ps
|
%%PORTDOCS%%%%DOCSDIR%%/liboctave.ps
|
||||||
share/doc/octave/octave.ps
|
%%PORTDOCS%%%%DOCSDIR%%/octave.ps
|
||||||
share/doc/octave/refcard-a4.ps
|
%%PORTDOCS%%%%DOCSDIR%%/refcard-a4.ps
|
||||||
share/doc/octave/refcard-legal.ps
|
%%PORTDOCS%%%%DOCSDIR%%/refcard-legal.ps
|
||||||
share/doc/octave/refcard-letter.ps
|
%%PORTDOCS%%%%DOCSDIR%%/refcard-letter.ps
|
||||||
share/octave/%%OCTAVE_VERSION%%/imagelib/default.img
|
share/octave/%%OCTAVE_VERSION%%/imagelib/default.img
|
||||||
share/octave/%%OCTAVE_VERSION%%/m/audio/lin2mu.m
|
share/octave/%%OCTAVE_VERSION%%/m/audio/lin2mu.m
|
||||||
share/octave/%%OCTAVE_VERSION%%/m/audio/loadaudio.m
|
share/octave/%%OCTAVE_VERSION%%/m/audio/loadaudio.m
|
||||||
@ -1023,7 +1021,7 @@ share/octave/site/m/startup/octaverc
|
|||||||
@dirrm share/octave/%%OCTAVE_VERSION%%/imagelib
|
@dirrm share/octave/%%OCTAVE_VERSION%%/imagelib
|
||||||
@dirrm share/octave/%%OCTAVE_VERSION%%
|
@dirrm share/octave/%%OCTAVE_VERSION%%
|
||||||
@dirrm share/octave
|
@dirrm share/octave
|
||||||
@dirrm share/doc/octave
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@dirrm libexec/octave/site/oct/%%GNU_HOST%%
|
@dirrm libexec/octave/site/oct/%%GNU_HOST%%
|
||||||
@dirrm libexec/octave/site/oct
|
@dirrm libexec/octave/site/oct
|
||||||
@dirrm libexec/octave/site/exec/%%GNU_HOST%%
|
@dirrm libexec/octave/site/exec/%%GNU_HOST%%
|
||||||
|
@ -36,8 +36,7 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST}
|
|||||||
BLAS_LIBS= "-L${LOCALBASE}/lib -lf77blas -latlas"
|
BLAS_LIBS= "-L${LOCALBASE}/lib -lf77blas -latlas"
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
INSTALLS_SHLIB= yes
|
USE_REINPLACE= yes
|
||||||
LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}-${PORTVERSION}
|
|
||||||
|
|
||||||
CONFIGURE_ARGS= --host=${GNU_HOST} \
|
CONFIGURE_ARGS= --host=${GNU_HOST} \
|
||||||
--with-fftw --with-blas=${BLAS_LIBS} --with-lpack \
|
--with-fftw --with-blas=${BLAS_LIBS} --with-lpack \
|
||||||
@ -59,9 +58,14 @@ MAN1= octave.1 octave-bug.1 mkoctfile.1 octave-config.1
|
|||||||
post-extract:
|
post-extract:
|
||||||
@${RM} -f ${WRKSRC}/doc/interpreter/octave.info*
|
@${RM} -f ${WRKSRC}/doc/interpreter/octave.info*
|
||||||
@${RM} -f ${WRKSRC}/doc/liboctave/liboctave.info*
|
@${RM} -f ${WRKSRC}/doc/liboctave/liboctave.info*
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
$(INSTALL_DATA) $(WRKSRC)/doc/liboctave/liboctave.info $(PREFIX)/info
|
${RM} ${PREFIX}/bin/octave
|
||||||
|
@${CP} ${FILESDIR}/octave ${WRKDIR}
|
||||||
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g ; \
|
||||||
|
s,%%OCTAVE_VERSION%%,${OCTAVE_VERSION},g' \
|
||||||
|
${WRKDIR}/octave
|
||||||
|
${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/liboctave.info ${PREFIX}/info
|
||||||
install-info --entry='* Octave: (octave). Interactive language for numerical computations.' $(PREFIX)/info/octave.info $(PREFIX)/info/dir
|
install-info --entry='* Octave: (octave). Interactive language for numerical computations.' $(PREFIX)/info/octave.info $(PREFIX)/info/dir
|
||||||
install-info --entry='* LibOctave: (liboctave). C++ class library for Octave.' $(PREFIX)/info/liboctave.info $(PREFIX)/info/dir
|
install-info --entry='* LibOctave: (liboctave). C++ class library for Octave.' $(PREFIX)/info/liboctave.info $(PREFIX)/info/dir
|
||||||
.ifndef NOPORTDOCS
|
.ifndef NOPORTDOCS
|
||||||
|
8
math/octave/files/octave
Normal file
8
math/octave/files/octave
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
OCTAVE_EXEC=%%PREFIX%%/bin/octave-%%OCTAVE_VERSION%%
|
||||||
|
LD_LIBRARY_PATH=%%PREFIX%%/lib/octave-%%OCTAVE_VERSION%%; export LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
exec $OCTAVE_EXEC "$@"
|
@ -290,8 +290,6 @@ include/octave-%%OCTAVE_VERSION%%/octave/vx-s-ccv.h
|
|||||||
include/octave-%%OCTAVE_VERSION%%/octave/vx-s-crv.h
|
include/octave-%%OCTAVE_VERSION%%/octave/vx-s-crv.h
|
||||||
include/octave-%%OCTAVE_VERSION%%/octave/xdiv.h
|
include/octave-%%OCTAVE_VERSION%%/octave/xdiv.h
|
||||||
include/octave-%%OCTAVE_VERSION%%/octave/xpow.h
|
include/octave-%%OCTAVE_VERSION%%/octave/xpow.h
|
||||||
@exec /bin/ln -sf %D/include/octave-%%OCTAVE_VERSION%%/octave %D/include/octave
|
|
||||||
@unexec /bin/rm -f %D/include/octave
|
|
||||||
@unexec install-info --delete --entry='* Octave: (octave). Interactive language for numerical computations.' %D/info/octave.info %D/info/dir
|
@unexec install-info --delete --entry='* Octave: (octave). Interactive language for numerical computations.' %D/info/octave.info %D/info/dir
|
||||||
@unexec install-info --delete --entry='* LibOctave: (liboctave). C++ class library for Octave.' %D/info/liboctave.info %D/info/dir
|
@unexec install-info --delete --entry='* LibOctave: (liboctave). C++ class library for Octave.' %D/info/liboctave.info %D/info/dir
|
||||||
info/octave.info
|
info/octave.info
|
||||||
@ -384,12 +382,12 @@ libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/svd.oct
|
|||||||
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/syl.oct
|
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/syl.oct
|
||||||
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/time.oct
|
libexec/octave/%%OCTAVE_VERSION%%/oct/%%GNU_HOST%%/time.oct
|
||||||
libexec/octave/ls-R
|
libexec/octave/ls-R
|
||||||
share/doc/octave/Octave-FAQ.ps
|
%%PORTDOCS%%%%DOCSDIR%%/Octave-FAQ.ps
|
||||||
share/doc/octave/liboctave.ps
|
%%PORTDOCS%%%%DOCSDIR%%/liboctave.ps
|
||||||
share/doc/octave/octave.ps
|
%%PORTDOCS%%%%DOCSDIR%%/octave.ps
|
||||||
share/doc/octave/refcard-a4.ps
|
%%PORTDOCS%%%%DOCSDIR%%/refcard-a4.ps
|
||||||
share/doc/octave/refcard-legal.ps
|
%%PORTDOCS%%%%DOCSDIR%%/refcard-legal.ps
|
||||||
share/doc/octave/refcard-letter.ps
|
%%PORTDOCS%%%%DOCSDIR%%/refcard-letter.ps
|
||||||
share/octave/%%OCTAVE_VERSION%%/imagelib/default.img
|
share/octave/%%OCTAVE_VERSION%%/imagelib/default.img
|
||||||
share/octave/%%OCTAVE_VERSION%%/m/audio/lin2mu.m
|
share/octave/%%OCTAVE_VERSION%%/m/audio/lin2mu.m
|
||||||
share/octave/%%OCTAVE_VERSION%%/m/audio/loadaudio.m
|
share/octave/%%OCTAVE_VERSION%%/m/audio/loadaudio.m
|
||||||
@ -1023,7 +1021,7 @@ share/octave/site/m/startup/octaverc
|
|||||||
@dirrm share/octave/%%OCTAVE_VERSION%%/imagelib
|
@dirrm share/octave/%%OCTAVE_VERSION%%/imagelib
|
||||||
@dirrm share/octave/%%OCTAVE_VERSION%%
|
@dirrm share/octave/%%OCTAVE_VERSION%%
|
||||||
@dirrm share/octave
|
@dirrm share/octave
|
||||||
@dirrm share/doc/octave
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@dirrm libexec/octave/site/oct/%%GNU_HOST%%
|
@dirrm libexec/octave/site/oct/%%GNU_HOST%%
|
||||||
@dirrm libexec/octave/site/oct
|
@dirrm libexec/octave/site/oct
|
||||||
@dirrm libexec/octave/site/exec/%%GNU_HOST%%
|
@dirrm libexec/octave/site/exec/%%GNU_HOST%%
|
||||||
|
Loading…
Reference in New Issue
Block a user