aboutsummaryrefslogtreecommitdiff
path: root/graphics/rayshade
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/rayshade')
-rw-r--r--graphics/rayshade/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/rayshade/Makefile b/graphics/rayshade/Makefile
index 6665af5ecdd0..45e91fca6de4 100644
--- a/graphics/rayshade/Makefile
+++ b/graphics/rayshade/Makefile
@@ -17,8 +17,11 @@ MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= $(LOCALBASE)/lib/librle.a:${PORTSDIR}/graphics/urt
-BROKEN_ELF= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400000
BROKEN= build
+.endif
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
@@ -40,4 +43,4 @@ do-install:
$(MKDIR) $(PREFIX)/share/examples/rayshade
$(INSTALL_DATA) $(WRKSRC)/Examples/* $(PREFIX)/share/examples/rayshade
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>