FreeBSD Bugzilla – Attachment 85933 Details for
Bug 122272
Fix math/Miracl for AMD64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.47 KB, created by
Frank
on 2008-03-30 23:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Frank
Created:
2008-03-30 23:10:00 UTC
Size:
1.47 KB
patch
obsolete
>diff -Nru miracl.vanilla/Makefile miracl/Makefile >--- miracl.vanilla/Makefile 2007-05-22 22:13:57.000000000 +0200 >+++ miracl/Makefile 2008-03-31 00:02:18.000000000 +0200 >@@ -6,7 +6,7 @@ > # > > PORTNAME= miracl >-PORTVERSION= 5.3 >+PORTVERSION= 5.3.2 > CATEGORIES= math > MASTER_SITES= ftp://ftp.computing.dcu.ie/pub/crypto/ \ > ${MASTER_SITE_LOCAL} >@@ -27,8 +27,12 @@ > > .include <bsd.port.pre.mk> > >-.if ${ARCH} != "i386" >-BROKEN= Does not build on !i386 >+.if ${ARCH} == "i386" >+BUILDCMD= linux >+.elif ${ARCH} == "amd64" >+BUILDCMD= linux64 >+.else >+BROKEN= Builds on x86 and x86_64 only > .endif > > post-patch: >@@ -37,11 +41,11 @@ > @${REINPLACE_CMD} -E \ > -e 's|gcc|${CC}|' \ > -e 's|g\+\+|${CXX}|' \ >- -e 's|-O2|${CFLAGS}|' \ >- ${WRKSRC}/linux >+ -e 's|-O2|${CFLAGS} -fPIC|' \ >+ ${WRKSRC}/${BUILDCMD} > > do-build: >- @cd ${WRKSRC} && ${SH} ./linux >+ @cd ${WRKSRC} && ${SH} ./${BUILDCMD} > > do-install: > # lib >diff -Nru miracl.vanilla/distinfo miracl/distinfo >--- miracl.vanilla/distinfo 2007-05-22 22:13:57.000000000 +0200 >+++ miracl/distinfo 2008-03-31 00:02:59.000000000 +0200 >@@ -1,3 +1,3 @@ >-MD5 (miracl/5.3/miracl.zip) = 7ef68202b855ce90da8a4e84b5f51262 >-SHA256 (miracl/5.3/miracl.zip) = 8c806f9ee60dbca52af93dd9c2e05a645022e1b5a6f4a367efbc6c533684fe15 >-SIZE (miracl/5.3/miracl.zip) = 1528771 >+MD5 (miracl/5.3.2/miracl.zip) = 4e7b8b3365d299239af69a70e25410b9 >+SHA256 (miracl/5.3.2/miracl.zip) = c4fb4cf32090cce202cf0ea152da6b2e7f8633da64dd41b0d5833d900f8c5462 >+SIZE (miracl/5.3.2/miracl.zip) = 1643702
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 122272
: 85933