diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-03-31 12:34:42 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-03-31 12:34:42 +0000 |
commit | db8f3c4d2ffe5273da5ecbf32af0622664dac2e3 (patch) | |
tree | 4a78b55fcedd89987af77ce17cd6dd09442051f5 /math | |
parent | 3e505ea9b694096878d4982c9dca82a58cd3cd5e (diff) | |
download | ports-db8f3c4d2ffe5273da5ecbf32af0622664dac2e3.tar.gz ports-db8f3c4d2ffe5273da5ecbf32af0622664dac2e3.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/miracl/Makefile | 16 | ||||
-rw-r--r-- | math/miracl/distinfo | 6 |
2 files changed, 13 insertions, 9 deletions
diff --git a/math/miracl/Makefile b/math/miracl/Makefile index 5557bee2d830..4adf0bbef96e 100644 --- a/math/miracl/Makefile +++ b/math/miracl/Makefile @@ -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 @@ PLIST_FILES= lib/libmiracl.a \ .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 +IGNORE= Builds on x86 and amd64 only .endif post-patch: @@ -37,11 +41,11 @@ post-patch: @${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 --git a/math/miracl/distinfo b/math/miracl/distinfo index bc159fe43458..cd550253d01c 100644 --- a/math/miracl/distinfo +++ b/math/miracl/distinfo @@ -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 |