From 29fefc1b76f15eecb898d3b775370c67b6baa14f Mon Sep 17 00:00:00 2001 From: tnn Date: Tue, 13 May 2008 11:40:24 +0000 Subject: Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Saushev PR pkg/38606. --- mk/check/bsd.check-vars.mk | 4 ++-- mk/platform/FreeBSD.mk | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'mk') diff --git a/mk/check/bsd.check-vars.mk b/mk/check/bsd.check-vars.mk index 703ea0b368b..a5dab08256c 100644 --- a/mk/check/bsd.check-vars.mk +++ b/mk/check/bsd.check-vars.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.check-vars.mk,v 1.5 2008/03/09 13:47:08 joerg Exp $ +# $NetBSD: bsd.check-vars.mk,v 1.6 2008/05/13 11:40:24 tnn Exp $ # # This Makefile fragment is included separately by bsd.pkg.mk and # defines some variables which must be defined earlier than where @@ -8,7 +8,7 @@ CHECK_FILES_SUPPORTED?= yes CHECK_SHLIBS_SUPPORTED?= yes -.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" USE_CHECK_SHLIBS_ELF?= yes .else USE_CHECK_SHLIBS_ELF?= no diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk index ee039414aa0..96734884e52 100644 --- a/mk/platform/FreeBSD.mk +++ b/mk/platform/FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: FreeBSD.mk,v 1.24 2008/03/04 06:45:34 jlam Exp $ +# $NetBSD: FreeBSD.mk,v 1.25 2008/05/13 11:40:24 tnn Exp $ # # Variable definitions for the FreeBSD operating system. @@ -49,6 +49,8 @@ IMAKE_MANINSTALL?= maninstall catinstall _OPSYS_EMULDIR.freebsd= # empty _OPSYS_EMULDIR.linux= /compat/linux +_OPSYS_SYSTEM_RPATH?= /lib:/usr/lib # STANDARD_LIBRARY_PATH (from rtld.h) + .if exists(/usr/include/netinet6) _OPSYS_HAS_INET6= yes # IPv6 is standard .else -- cgit v1.2.3