diff options
author | ahze <ahze@FreeBSD.org> | 2006-05-01 21:47:33 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-05-01 21:47:33 +0800 |
commit | e0a1a9f5a3f3c32c46deaecc3c16054b7ac994b7 (patch) | |
tree | 1b449aa7e076eb494d67ce31208e2b923c4f0df7 /math | |
parent | a7ea0580c0ef732e472b1316d1e490883f55700c (diff) | |
download | freebsd-ports-gnome-e0a1a9f5a3f3c32c46deaecc3c16054b7ac994b7.tar.gz freebsd-ports-gnome-e0a1a9f5a3f3c32c46deaecc3c16054b7ac994b7.tar.zst freebsd-ports-gnome-e0a1a9f5a3f3c32c46deaecc3c16054b7ac994b7.zip |
- Attempt to fix build on amd64 and ia64 by removing sparc64-only CFLAGS
Diffstat (limited to 'math')
-rw-r--r-- | math/ldouble/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/ldouble/Makefile b/math/ldouble/Makefile index 27359e2029fb..bbeaeb7897d7 100644 --- a/math/ldouble/Makefile +++ b/math/ldouble/Makefile @@ -22,7 +22,7 @@ MAKEFILE= makefile INSTALLS_SHLIB= yes # Known to work on atleast sparc64 & i386 #ONLY_FOR_ARCHS= i386 sparc64 -NOT_FOR_ARCHS= amd64 ia64 +#NOT_FOR_ARCHS= amd64 ia64 PLIST_FILES= lib/libml.a \ lib/libml.so \ @@ -43,6 +43,10 @@ PORTDOCS= 128bdoc.html .endif post-patch: +.if ${ARCH}!="sparc64" + @${REINPLACE_CMD} -e 's|-msoft-quad-float||' \ + ${WRKSRC}/${MAKEFILE} +.endif @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; s|%%CFLAGS%%|${CFLAGS}|' \ ${WRKSRC}/${MAKEFILE} |