aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-08-14 06:57:08 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-08-14 06:57:08 +0000
commit606cad63e046f2873878d07634158eb90c5a2cf6 (patch)
tree8333024328fa7119f068a84dd0382460fc6cb8dc
parentda00f4efc2e0f031a8a099bbea7665c5062b5bef (diff)
MFC: Honor TOOLS_PREFIX.release/4.6.2
(Makes RELENG_4_6 buildable for those who do not have libcrypto.so.2 under /usr/lib and attempt to buildworld with crypto support. This became needed after the OpenSSH merge.) Approved by: re (murray)
Notes
Notes: svn path=/releng/4.6/; revision=101858 svn path=/release/4.6.2/; revision=101859; tag=release/4.6.2
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile2
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.alpha2
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.i3862
3 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 8e81c8ffd760..ed7e7e18215a 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -17,7 +17,7 @@ elf-hints.h:
ln -sf ${.CURDIR}/../../../../include/${.TARGET} .
.endif
-CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
+CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
NOSHARED?= yes
diff --git a/gnu/usr.bin/binutils/ld/Makefile.alpha b/gnu/usr.bin/binutils/ld/Makefile.alpha
index bfb9f60846ba..d729adb91be5 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.alpha
+++ b/gnu/usr.bin/binutils/ld/Makefile.alpha
@@ -6,7 +6,7 @@
HOST= alpha-unknown-freebsd
CFLAGS+= -DDEFAULT_EMULATION=\"elf64alpha\"
CFLAGS+= -DTARGET=\"alpha-unknown-freebsd\"
-_alpha_path= \"/usr/lib\"
+_alpha_path= \"${TOOLS_PREFIX}/usr/lib\"
.else
_alpha_path= \"/usr/cross/alpha-freebsd/usr/lib\"
.endif
diff --git a/gnu/usr.bin/binutils/ld/Makefile.i386 b/gnu/usr.bin/binutils/ld/Makefile.i386
index 6e4a4fafa5ed..5c116a1031aa 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.i386
+++ b/gnu/usr.bin/binutils/ld/Makefile.i386
@@ -6,7 +6,7 @@
HOST= i386-unknown-freebsd
CFLAGS+= -DDEFAULT_EMULATION=\"elf_i386\"
CFLAGS+= -DTARGET=\"i386-unknown-freebsd\"
-_i386_path= \"/usr/lib\"
+_i386_path= \"${TOOLS_PREFIX}/usr/lib\"
.else
_i386_path= \"/usr/cross/i386-freebsd/usr/lib\"
.endif