1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/sysutils/heirloom/files/patch-factor_Makefile.mk
Pietro Cerutti c2972fcd0a - Fix build with clang
Feature safe:	yes
2012-12-03 09:10:19 +00:00

12 lines
519 B
Makefile

--- factor/Makefile.mk.orig 2012-12-03 10:01:29.000000000 +0100
+++ factor/Makefile.mk 2012-12-03 10:01:48.000000000 +0100
@@ -22,7 +22,7 @@
$(CC) ___build$$$$.c -lm -o ___build$$$$ >/dev/null 2>&1 ; \
if test $$? = 0 && test -f ___build$$$$ ; \
then \
- echo '#if !defined (__dietlibc__) && !defined (_AIX)' >>config.h ; \
+ echo '#if !defined (__dietlibc__) && !defined (_AIX) && !defined (__FreeBSD__)' >>config.h ; \
echo '#define USE_LONG_DOUBLE' >>config.h ; \
echo '#endif' >>config.h ; \
fi ; \