diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-02-22 18:37:57 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-02-22 18:37:57 +0000 |
commit | 65aefdf6e7cee49c53a0e7889427b6c8bd781808 (patch) | |
tree | 5849976908e7ae2689d7ef968e7182044046581a /math | |
parent | 5a3e2aa497113f55beb8322ea160af2a32b3bb3e (diff) | |
download | ports-65aefdf6e7cee49c53a0e7889427b6c8bd781808.tar.gz ports-65aefdf6e7cee49c53a0e7889427b6c8bd781808.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numpy/Makefile | 15 | ||||
-rw-r--r-- | math/py-numpy/distinfo | 7 |
2 files changed, 11 insertions, 11 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 5757ce9da262..c1dccd30e641 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -34,7 +34,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/r/rc/} .include <bsd.port.pre.mk> -.if ((${OSVERSION} <= 800502) || (${OSVERSION} >= 900000 && ${OSVERSION} <= 900009)) && (${ARCH} == "i386" || ${ARCH} == "amd64") +.if (${OSVERSION} <= 703100 || \ +(${OSVERSION} >= 800000 && ${OSVERSION} <= 800502) || \ +(${OSVERSION} >= 900000 && ${OSVERSION} <= 900009)) && \ +(${ARCH} == "i386" || ${ARCH} == "amd64") +USE_FIXED_FENV= yes +.endif + +.if defined(USE_FIXED_FENV) MASTER_SITES+= http://svn.freebsd.org/base/head/lib/msun/:fp .if ${ARCH} == "i386" FP_ARCH= i387 @@ -71,7 +78,7 @@ post-patch: GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so|${SED} -e s/libgfortran.so// pre-configure: -.if ((${OSVERSION} <= 800502) || (${OSVERSION} >= 900000 && ${OSVERSION} <= 900009)) && (${ARCH} == "i386" || ${ARCH} == "amd64") +.if defined(USE_FIXED_FENV) @if [ "`${PKG_VERSION} -t \"\`\\\`${CC} -print-prog-name=as\\\` --version | ${AWK} 'NR==1 {sub(/\(GNU Binutils\)/,""); print $$3}'\`\" 2.18.49`" = ">" ] ; then \ ${CP} ${DISTDIR}/${FP_ARCH}/fenv.c?p=203441 ${WRKSRC}/numpy/core/include/numpy/fenv/fenv.c; \ ${CP} ${DISTDIR}/${FP_ARCH}/fenv.h?p=203441 ${WRKSRC}/numpy/core/include/numpy/fenv/fenv.h; \ @@ -93,7 +100,7 @@ pre-configure: @${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+$$(${GCCLIBDIR_CMDS})+" ${WRKSRC}/numpy/distutils/system_info.py pre-install: -.if ((${OSVERSION} <= 800502) || (${OSVERSION} >= 900000 && ${OSVERSION} <= 900009)) && (${ARCH} == "i386" || ${ARCH} == "amd64") +.if defined(USE_FIXED_FENV) @if [ "`${PKG_VERSION} -t \"\`\\\`${CC} -print-prog-name=as\\\` --version | ${AWK} 'NR==1 {sub(/\(GNU Binutils\)/,""); print $$3}'\`\" 2.18.49`" = ">" ] ; then \ ${RM} ${WRKSRC}/numpy/core/include/numpy/fenv/fenv.c.bak; \ fi @@ -106,7 +113,7 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/numpy-ref.pdf ${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/numpy-user.pdf ${DOCSDIR} .endif -.if ((${OSVERSION} <= 800502) || (${OSVERSION} >= 900000 && ${OSVERSION} <= 900009)) && (${ARCH} == "i386" || ${ARCH} == "amd64") +.if defined(USE_FIXED_FENV) @if [ "`${PKG_VERSION} -t \"\`\\\`${CC} -print-prog-name=as\\\` --version | ${AWK} 'NR==1 {sub(/\(GNU Binutils\)/,""); print $$3}'\`\" 2.18.49`" = ">" ] ; then \ ${REINPLACE_CMD} -e "s|%%FENV%%||g" ${TMPPLIST}; \ else \ diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo index e311d90685e4..c1f511ef167b 100644 --- a/math/py-numpy/distinfo +++ b/math/py-numpy/distinfo @@ -1,21 +1,14 @@ -MD5 (numpy-1.5.1.tar.gz) = 376ef150df41b5353944ab742145352d SHA256 (numpy-1.5.1.tar.gz) = c36789ec381fec09f519249744ea36a77e5534b69446a59ee73b06cac29542eb SIZE (numpy-1.5.1.tar.gz) = 2280220 -MD5 (numpy-ref.pdf) = 05b9cef44d4e2c22e4c7963cecb988e4 SHA256 (numpy-ref.pdf) = 4ae481be313756dac9db43ca7cb6ea05eafc43262f8f6a1e2fde5397a69634a0 SIZE (numpy-ref.pdf) = 5865550 -MD5 (numpy-user.pdf) = 3a6ba806e2833d1acb6385f8e6a1cd86 SHA256 (numpy-user.pdf) = 4c0774547ed30323cb8c53718fb9be778f8ab9d49829772bf25f35cb482e90ab SIZE (numpy-user.pdf) = 470154 -MD5 (i387/fenv.c?p=203441) = d371542b4c2d17088d52f73862726496 SHA256 (i387/fenv.c?p=203441) = c7c558ddb6ab6604c83062fe0655d3ce8cf4d60edb4c9c82777962c49d23ca54 SIZE (i387/fenv.c?p=203441) = 4791 -MD5 (i387/fenv.h?p=203441) = d7c13d3c58b762a7a8814e7d6c585689 SHA256 (i387/fenv.h?p=203441) = 40c72f3cdd6990076394056e06461e1daeb6087b6a32f1962d3c33b0a00c0e0d SIZE (i387/fenv.h?p=203441) = 6774 -MD5 (amd64/fenv.c?p=203441) = be35d718bd9113d9efa6fc777298d12d SHA256 (amd64/fenv.c?p=203441) = 9741a9ad3f8406f8292a268b0bc288dc7cb042e3e102440696d48c9a8b7955f0 SIZE (amd64/fenv.c?p=203441) = 3601 -MD5 (amd64/fenv.h?p=203441) = 564a4e973990e4f66a5b3ab0e5ded5e1 SHA256 (amd64/fenv.h?p=203441) = 2daf607fea1bf7e8de5e174599d963fc3bbbe48e293cf2ff08e221351472c9d6 SIZE (amd64/fenv.h?p=203441) = 5810 |