Fri May 4 11:46:02 2012 UTC ()
It is possible to check shlibs on OpenBSD now.


(obache)
diff -r1.33 -r1.34 pkgsrc/mk/platform/OpenBSD.mk

cvs diff -r1.33 -r1.34 pkgsrc/mk/platform/OpenBSD.mk (expand / switch to context diff)
--- pkgsrc/mk/platform/OpenBSD.mk 2012/03/19 12:34:18 1.33
+++ pkgsrc/mk/platform/OpenBSD.mk 2012/05/04 11:46:02 1.34
@@ -1,4 +1,4 @@
-# $NetBSD: OpenBSD.mk,v 1.33 2012/03/19 12:34:18 joerg Exp $
+# $NetBSD: OpenBSD.mk,v 1.34 2012/05/04 11:46:02 obache Exp $
 #
 # Variable definitions for the OpenBSD operating system.
 
@@ -35,6 +35,8 @@
 
 X11_TYPE?=		native
 
+_OPSYS_SYSTEM_RPATH?=	/usr/lib
+
 .if exists(/usr/include/netinet6)
 _OPSYS_HAS_INET6=	yes	# IPv6 is standard
 .else
@@ -88,7 +90,7 @@
 PKG_HAVE_KQUEUE=	# defined
 .endif
 
-_OPSYS_CAN_CHECK_SHLIBS=	no # can't use readelf in check/bsd.check-vars.mk
+_OPSYS_CAN_CHECK_SHLIBS=	yes # use readelf in check/bsd.check-vars.mk
 
 # check for maximum command line length and set it in configure's environment,
 # to avoid a test required by the libtool script that takes forever.