From 81d453a485871ad9a03a817f7098cafdd48c4f58 Mon Sep 17 00:00:00 2001 From: olgeni Date: Thu, 30 Sep 2010 12:40:48 +0000 Subject: Fix build on FreeBSD 6.x. Noticed by: ashish --- lang/erlang/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lang/erlang') diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 91168485afcc..1487bc43bd29 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -83,6 +83,10 @@ ONLY_FOR_ARCHS= i386 amd64 sparc64 REINPLACE_ARGS= -i MAKE_JOBS_UNSAFE= yes +.if (${OSVERSION} < 700000) +USE_GCC= 4.2+ +.endif + .if !defined(WITHOUT_ODBC) DRIVER_MANAGER?= iodbc .if ${DRIVER_MANAGER} == "unixodbc" -- cgit