Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163400739
D20670.id58725.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20670.id58725.diff
View Options
Index: math/openlibm/Makefile
===================================================================
--- math/openlibm/Makefile
+++ math/openlibm/Makefile
@@ -17,9 +17,8 @@
BROKEN_armv7= fails to compile: a parameter list without types is only allowed in a function definition
BROKEN_mips= fails to compile: No rule to make target mips/Make.files
BROKEN_mips64= fails to compile: No rule to make target mips64/Make.files
-BROKEN_powerpc64= fails to build: gmake: clang: Command not found
-USES= gmake
+USES= compiler:c11 gmake
USE_GITHUB= yes
GH_ACCOUNT= JuliaMath
GH_PROJECT= openlibm
@@ -28,8 +27,16 @@
.include <bsd.port.pre.mk>
-MAKE_ENV+= prefix=${PREFIX}
+MAKE_ENV+= prefix=${PREFIX} ${MAKE_ENV_${CHOSEN_COMPILER_TYPE}}
+MAKE_ENV_gcc= USEGCC=1 USECLANG=0
+MAKE_ENV_clang= USEGCC=0 USECLANG=1
TEST_TARGET= check
+post-patch:
+ ${REINPLACE_CMD} -e 's/USEGCC =/USEGCC ?=/g' \
+ -e 's/USECLANG =/USECLANG ?=/g' \
+ -e '/TOOLPREFIX)gcc/s/$$/${GCC_DEFAULT}/g' \
+ ${WRKSRC}/Make.inc
+
.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 9:19 PM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35415895
Default Alt Text
D20670.id58725.diff (1 KB)
Attached To
Mode
D20670: math/openlibm: fix build with GCC-based architectures
Attached
Detach File
Event Timeline
Log In to Comment