FreeBSD Bugzilla – Attachment 147418 Details for
Bug 188114
math/py-numpy: Broken on 9.2-STABLE - gcc48/libgfortran.so.3 not found
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch re-adds LDFLAGS to fix the problem.
py-numpy.diff (text/plain), 1.36 KB, created by
Thierry Thomas
on 2014-09-17 22:03:44 UTC
(
hide
)
Description:
This patch re-adds LDFLAGS to fix the problem.
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2014-09-17 22:03:44 UTC
Size:
1.36 KB
patch
obsolete
>diff -urN math/py-numpy.orig/Makefile math/py-numpy/Makefile >--- math/py-numpy.orig/Makefile 2014-09-11 21:06:24.000000000 +0200 >+++ math/py-numpy/Makefile 2014-09-17 23:47:32.000000000 +0200 >@@ -3,7 +3,7 @@ > > PORTNAME= numpy > PORTVERSION= 1.8.1 >-PORTREVISION= 3 >+PORTREVISION= 4 > PORTEPOCH= 1 > CATEGORIES= math python > MASTER_SITES= http://docs.scipy.org/doc/${PORTNAME}/:doc \ >@@ -23,6 +23,7 @@ > > USES= fortran python > USE_PYTHON= concurrent distutils py3kplist >+LDFLAGS+= -shared > > OPTIONS_DEFINE= ATLAS SUITESPARSE DOCS > OPTIONS_DEFAULT= SUITESPARSE >@@ -48,14 +49,12 @@ > .endif > > post-extract: >- @${CP} ${DISTDIR}/numpy-ref-${PORTVERSION}.pdf ${WRKDIR} >- @${CP} ${DISTDIR}/numpy-user-${PORTVERSION}.pdf ${WRKDIR} >+ ${CP} ${DISTDIR}/numpy-ref-${PORTVERSION}.pdf ${WRKDIR} >+ ${CP} ${DISTDIR}/numpy-user-${PORTVERSION}.pdf ${WRKDIR} > > post-patch: >- @${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" ${WRKSRC}/numpy/distutils/fcompiler/gnu.py >- @${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg >-# ignore LDFLAGS from env, as it overrides internal flags (e.g. -shared) for some reason >- @${REINPLACE_CMD} -e "s|'LDFLAGS'|None|" ${WRKSRC}/numpy/distutils/fcompiler/__init__.py >+ ${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" ${WRKSRC}/numpy/distutils/fcompiler/gnu.py >+ ${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg > > GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so|${SED} -e s/libgfortran.so// >
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 188114
: 147418