aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dri-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dri-devel/Makefile')
-rw-r--r--graphics/dri-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/dri-devel/Makefile b/graphics/dri-devel/Makefile
index 4e4accb957c..51d386771bf 100644
--- a/graphics/dri-devel/Makefile
+++ b/graphics/dri-devel/Makefile
@@ -37,6 +37,10 @@ DRIMODDIR= ${PREFIX}/lib/modules/dri
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+USE_GCC= 3.4
+.endif
+
do-install:
.if ${ARCH} == i386
${INSTALL_PROGRAM} ${WRKSRC}/lib/i810_dri.so ${DRIMODDIR}