aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-03 21:55:29 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-03 21:55:29 +0000
commit8e15a19a07ea23798bf5abe36fdcf304dac4ae7d (patch)
tree6ceb2d4d005bee09e780ab15a4a10ecb9b6939cd /lang
parentb9d85df1c96e936171ca3345fd4656e4e206b21f (diff)
downloadports-8e15a19a07ea23798bf5abe36fdcf304dac4ae7d.tar.gz
ports-8e15a19a07ea23798bf5abe36fdcf304dac4ae7d.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc-aux/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/gcc-aux/Makefile b/lang/gcc-aux/Makefile
index 6b3dd8b1e020..d15795641af4 100644
--- a/lang/gcc-aux/Makefile
+++ b/lang/gcc-aux/Makefile
@@ -79,11 +79,11 @@ AWKMANPAGE= '{if ($$0 ~ /^man\/man[1-9]\/.+[1-9]$$/) print $$0 ".gz"; else prin
# If we find gnatmake and friends in a standard location, then we'll use this
# compiler instead of downloading the bootstrap.
-.if exists (${PREFIX}/${PORTNAME}/bin/ada)
-.if exists (${PREFIX}/${PORTNAME}/bin/gnatbind)
-.if exists (${PREFIX}/${PORTNAME}/bin/gnatlink)
-.if exists (${PREFIX}/${PORTNAME}/bin/gnatmake)
-FULL_GNATGCC=${PREFIX}/${PORTNAME}/bin/ada
+.if exists (${LOCALBASE}/${PORTNAME}/bin/ada)
+.if exists (${LOCALBASE}/${PORTNAME}/bin/gnatbind)
+.if exists (${LOCALBASE}/${PORTNAME}/bin/gnatlink)
+.if exists (${LOCALBASE}/${PORTNAME}/bin/gnatmake)
+FULL_GNATGCC=${LOCALBASE}/${PORTNAME}/bin/ada
FULL_PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/${PORTNAME}/bin:${PREFIX}/bin
.endif
.endif