summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-13 11:40:24 +0000
committertnn <tnn@pkgsrc.org>2008-05-13 11:40:24 +0000
commit29fefc1b76f15eecb898d3b775370c67b6baa14f (patch)
treedc35cbcb02d4bf989a0fa12a97a05ed64ebc64d9 /mk
parentaf7616bfb6b1b1733058ad93ed5fcf9679a079aa (diff)
downloadpkgsrc-29fefc1b76f15eecb898d3b775370c67b6baa14f.tar.gz
Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Saushev PR pkg/38606.
Diffstat (limited to 'mk')
-rw-r--r--mk/check/bsd.check-vars.mk4
-rw-r--r--mk/platform/FreeBSD.mk4
2 files changed, 5 insertions, 3 deletions
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