opnsense-ports/sysutils/heirloom/files/patch-factor_Makefile.mk
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 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 ; \