From e34ab12aa0593a43457642e7ff30f87eda02e94e Mon Sep 17 00:00:00 2001 From: John Marino Date: Fri, 13 Nov 2015 12:42:12 +0000 Subject: [PATCH] devel/ftjam: Add patch to support malloc.h-free DF --- devel/ftjam/Makefile | 2 +- devel/ftjam/files/patch-jam.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 devel/ftjam/files/patch-jam.h diff --git a/devel/ftjam/Makefile b/devel/ftjam/Makefile index 39f15a24b434..80ac40d95272 100644 --- a/devel/ftjam/Makefile +++ b/devel/ftjam/Makefile @@ -12,7 +12,7 @@ COMMENT= Small build tool that can be used as a replacement for make(1) OPTIONS_DEFINE= DOCS USES= dos2unix gmake tar:bzip2 -DOS2UNIX_GLOB= *.c +DOS2UNIX_GLOB= *.c jam.h PORTDOCS= Jam.html \ Jambase.html \ diff --git a/devel/ftjam/files/patch-jam.h b/devel/ftjam/files/patch-jam.h new file mode 100644 index 000000000000..e91edc97d8fa --- /dev/null +++ b/devel/ftjam/files/patch-jam.h @@ -0,0 +1,11 @@ +--- jam.h.orig 2015-11-13 12:38:24 UTC ++++ jam.h +@@ -227,7 +227,7 @@ + # define OSMINOR "OS=CYGWIN" + # define OS_CYGWIN + # endif +-# ifdef __FreeBSD__ ++# if defined __FreeBSD__ || defined __DragonFly__ + # define OSMINOR "OS=FREEBSD" + # define OS_FREEBSD + # endif