Date: Fri, 04 Apr 2008 17:00:08 +0200 From: Ralf van der Enden <tremere@cainites.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/122444: [patch] math/miracl: enable ASM on i386 Message-ID: <E1JhnOi-000KXv-Mv@cainites.net> Resent-Message-ID: <200804041510.m34FA3Df044255@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122444 >Category: ports >Synopsis: [patch] math/miracl: enable ASM on i386 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 04 15:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ralf van der Enden >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: System: FreeBSD lan.cainites.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 20:44:42 CET 2008 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386 >Description: Enable ASM on i386 again by removing -fPIC from the post-patch section for the i386 arch. >How-To-Repeat: >Fix: --- miracl.diff begins here --- diff -ruN miracl.org/Makefile miracl/Makefile --- miracl.org/Makefile 2008-04-04 16:51:32.000000000 +0200 +++ miracl/Makefile 2008-04-04 16:51:52.000000000 +0200 @@ -38,11 +38,18 @@ 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} diff -ruN miracl.org/files/patch-mirdef.lnx miracl/files/patch-mirdef.lnx --- miracl.org/files/patch-mirdef.lnx 2008-04-04 16:51:32.000000000 +0200 +++ miracl/files/patch-mirdef.lnx 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -diff -Nru mirdef.lnx mirdef.lnx ---- mirdef.lnx 2006-07-12 13:57:00.000000000 +0200 -+++ mirdef.lnx 2008-04-03 23:24:04.000000000 +0200 -@@ -27,4 +27,4 @@ - - #define MAXBASE ((mr_small)1<<(MIRACL-1)) - -- -+#define MR_NOASM --- miracl.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1JhnOi-000KXv-Mv>