diff options
author | olgeni <olgeni@FreeBSD.org> | 2010-09-30 20:40:48 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2010-09-30 20:40:48 +0800 |
commit | 81d453a485871ad9a03a817f7098cafdd48c4f58 (patch) | |
tree | 0dc911720ac5c530911df366d4cea44ed4c1dbf7 /lang/erlang | |
parent | 3daadd8cb82ca2ce0f865d5583d5e14a6fe2231e (diff) | |
download | freebsd-ports-gnome-81d453a485871ad9a03a817f7098cafdd48c4f58.tar.gz freebsd-ports-gnome-81d453a485871ad9a03a817f7098cafdd48c4f58.tar.zst freebsd-ports-gnome-81d453a485871ad9a03a817f7098cafdd48c4f58.zip |
Fix build on FreeBSD 6.x.
Noticed by: ashish
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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" |