summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/gnat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile
index 7fea8c4..41f5d12 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 \
OpenPOWER on IntegriCloud