diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-19 18:55:33 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-19 18:55:33 +0000 |
commit | af8fca43d8e6f0ad2bb6817c359a01a78dc5efd4 (patch) | |
tree | ea3514f4125760c80f93577f1f2e9bbd918ab2e2 /graphics/kisomandel | |
parent | 6067fad92649586c6bd922c05d6449acfd470333 (diff) |
Fix Build on 5.x
Respect CFLAGS
Notes
Notes:
svn path=/head/; revision=101412
Diffstat (limited to 'graphics/kisomandel')
-rw-r--r-- | graphics/kisomandel/Makefile | 9 | ||||
-rw-r--r-- | graphics/kisomandel/files/patch-misc.cpp | 10 |
2 files changed, 14 insertions, 5 deletions
diff --git a/graphics/kisomandel/Makefile b/graphics/kisomandel/Makefile index 773dad57d81d..8ebcc79ceee9 100644 --- a/graphics/kisomandel/Makefile +++ b/graphics/kisomandel/Makefile @@ -28,14 +28,13 @@ USE_GMAKE= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502102 -BROKEN= "Does not compile" -.endif - post-patch: @${REINPLACE_CMD} -e "s,-lqt,-lqt-mt ${PTHREAD_LIBS},g" ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e "s,-lqt,-lqt-mt ${PTHREAD_LIBS},g" - @${REINPLACE_CMD} -e "s,malloc.h,stdlib.h,g" ${WRKSRC}/kisomandel/fractal.cpp + @${REINPLACE_CMD} -e "s,malloc.h,stdlib.h,g" \ + ${WRKSRC}/kisomandel/fractal.cpp + @${REINPLACE_CMD} -e "s,-ffast-math -fomit-frame-pointer,${CFLAGS}," \ + ${WRKSRC}/kisomandel/Makefile.in .include <bsd.port.post.mk> diff --git a/graphics/kisomandel/files/patch-misc.cpp b/graphics/kisomandel/files/patch-misc.cpp new file mode 100644 index 000000000000..5e3a9c69e671 --- /dev/null +++ b/graphics/kisomandel/files/patch-misc.cpp @@ -0,0 +1,10 @@ +--- kisomandel/misc.cpp.orig Thu Feb 19 19:48:17 2004 ++++ kisomandel/misc.cpp Thu Feb 19 19:48:28 2004 +@@ -16,6 +16,7 @@ + ***************************************************************************/ + + #include <math.h> ++#include <stdlib.h> + #include "kisomandel.h" + #include "misc.h" + #include "fractal.h" |