pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Sau...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2681c5862a05
branches:  trunk
changeset: 542353:2681c5862a05
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue May 13 11:40:24 2008 +0000

description:
Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Saushev PR pkg/38606.

diffstat:

 mk/check/bsd.check-vars.mk |  4 ++--
 mk/platform/FreeBSD.mk     |  4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r d4e615bcbd4c -r 2681c5862a05 mk/check/bsd.check-vars.mk
--- a/mk/check/bsd.check-vars.mk        Tue May 13 11:20:02 2008 +0000
+++ b/mk/check/bsd.check-vars.mk        Tue May 13 11:40:24 2008 +0000
@@ -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 -r d4e615bcbd4c -r 2681c5862a05 mk/platform/FreeBSD.mk
--- a/mk/platform/FreeBSD.mk    Tue May 13 11:20:02 2008 +0000
+++ b/mk/platform/FreeBSD.mk    Tue May 13 11:40:24 2008 +0000
@@ -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 @@
 _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



Home | Main Index | Thread Index | Old Index