diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-04-04 15:22:17 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-04-04 15:22:17 +0000 |
commit | 6b8ae907c6a2bd40dbeeafcb6bfbc9505c351e16 (patch) | |
tree | 529f6c8e166fcefcc4e6b163d0ed412b84e8101a /math/miracl/Makefile | |
parent | 8ea7b0a83c3619c740c58016fc87dfdbe3bdbbf3 (diff) | |
download | ports-6b8ae907c6a2bd40dbeeafcb6bfbc9505c351e16.tar.gz ports-6b8ae907c6a2bd40dbeeafcb6bfbc9505c351e16.zip |
Notes
Diffstat (limited to 'math/miracl/Makefile')
-rw-r--r-- | math/miracl/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/math/miracl/Makefile b/math/miracl/Makefile index 4adf0bbef96e..8e68b6b52e99 100644 --- a/math/miracl/Makefile +++ b/math/miracl/Makefile @@ -7,6 +7,7 @@ PORTNAME= miracl PORTVERSION= 5.3.2 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://ftp.computing.dcu.ie/pub/crypto/ \ ${MASTER_SITE_LOCAL} @@ -38,11 +39,18 @@ IGNORE= Builds on x86 and amd64 only post-patch: # C{C,XX} safeness # CFLAGS safeness +.if ${ARCH} == "i386" + @${REINPLACE_CMD} -E \ + -e 's|gcc|${CC}|' \ + -e 's|g\+\+|${CXX}|' \ + -e 's|-O2|${CFLAGS}|' \ +.else @${REINPLACE_CMD} -E \ -e 's|gcc|${CC}|' \ -e 's|g\+\+|${CXX}|' \ -e 's|-O2|${CFLAGS} -fPIC|' \ ${WRKSRC}/${BUILDCMD} +.endif do-build: @cd ${WRKSRC} && ${SH} ./${BUILDCMD} |