View | Details | Raw Unified | Return to bug 122272
Collapse All | Expand All

(-)miracl/Makefile (-6 / +10 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	miracl
8
PORTNAME=	miracl
9
PORTVERSION=	5.3
9
PORTVERSION=	5.3.2
10
CATEGORIES=	math
10
CATEGORIES=	math
11
MASTER_SITES=	ftp://ftp.computing.dcu.ie/pub/crypto/ \
11
MASTER_SITES=	ftp://ftp.computing.dcu.ie/pub/crypto/ \
12
		${MASTER_SITE_LOCAL}
12
		${MASTER_SITE_LOCAL}
Lines 27-34 Link Here
27
27
28
.include <bsd.port.pre.mk>
28
.include <bsd.port.pre.mk>
29
29
30
.if ${ARCH} != "i386"
30
.if ${ARCH} == "i386"
31
BROKEN=		Does not build on !i386
31
BUILDCMD=	linux
32
.elif ${ARCH} == "amd64"
33
BUILDCMD=	linux64
34
.else
35
BROKEN=		Builds on x86 and x86_64 only
32
.endif
36
.endif
33
37
34
post-patch:
38
post-patch:
Lines 37-47 Link Here
37
	@${REINPLACE_CMD} -E \
41
	@${REINPLACE_CMD} -E \
38
		-e 's|gcc|${CC}|' \
42
		-e 's|gcc|${CC}|' \
39
		-e 's|g\+\+|${CXX}|' \
43
		-e 's|g\+\+|${CXX}|' \
40
		-e 's|-O2|${CFLAGS}|' \
44
		-e 's|-O2|${CFLAGS} -fPIC|' \
41
		${WRKSRC}/linux
45
		${WRKSRC}/${BUILDCMD}
42
46
43
do-build:
47
do-build:
44
	@cd ${WRKSRC} && ${SH} ./linux
48
	@cd ${WRKSRC} && ${SH} ./${BUILDCMD}
45
49
46
do-install:
50
do-install:
47
# lib
51
# lib
(-)miracl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (miracl/5.3/miracl.zip) = 7ef68202b855ce90da8a4e84b5f51262
1
MD5 (miracl/5.3.2/miracl.zip) = 4e7b8b3365d299239af69a70e25410b9
2
SHA256 (miracl/5.3/miracl.zip) = 8c806f9ee60dbca52af93dd9c2e05a645022e1b5a6f4a367efbc6c533684fe15
2
SHA256 (miracl/5.3.2/miracl.zip) = c4fb4cf32090cce202cf0ea152da6b2e7f8633da64dd41b0d5833d900f8c5462
3
SIZE (miracl/5.3/miracl.zip) = 1528771
3
SIZE (miracl/5.3.2/miracl.zip) = 1643702

Return to bug 122272