summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-12-01 10:03:51 +0000
committerknu <knu@FreeBSD.org>2002-12-01 10:03:51 +0000
commitba7967180f1226812bdd6095efad4acfcc53f520 (patch)
tree93a8b2adac3764124dc7bd5b23d4df0d6dedf347 /lang
parent21220e677bace4dedf34d1f0183f59dca7db9304 (diff)
downloadFreeBSD-ports-ba7967180f1226812bdd6095efad4acfcc53f520.zip
FreeBSD-ports-ba7967180f1226812bdd6095efad4acfcc53f520.tar.gz
Add the misc/compat4x dependency only if ${OSVERSION} >= 500000.
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 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