summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-12-01 10:03:51 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-12-01 10:03:51 +0000
commitac19d0e1766ebd181a163dae6bf5306f11f204f4 (patch)
tree19fe20f39f0b70de6e1553d76fedbbb061273b28 /lang
parentThe distributed bootstrapping compiler requires libc.so.4, (diff)
Add the misc/compat4x dependency only if ${OSVERSION} >= 500000.
Notes
Notes: svn path=/head/; revision=71273
Diffstat (limited to 'lang')
-rw-r--r--lang/gnat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile
index 7fea8c47339a..41f5d12d58e4 100644
--- a/lang/gnat/Makefile
+++ b/lang/gnat/Makefile
@@ -95,7 +95,9 @@ BROKEN= "Cannot build with or for an aout compiler."
.if empty(have_boot)
ONLY_FOR_ARCHS= i386
DISTFILES+= gnat-3.13p-boot.tar.gz:boot
+.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
# Warning! You need the trailing slash on GCC_EXEC_PREFIX.
COMPILEDATA= GCC_EXEC_PREFIX=${WRKDIR}/adaboot/lib/gcc-lib/ \
ADA_INCLUDE_PATH=${WRKDIR}/adaboot/lib/gcc-lib/adainclude \