summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-16 15:59:59 +0000
committerjperkin <jperkin>2015-11-16 15:59:59 +0000
commitc9d57431de19615768482f3d434e9266e0cae883 (patch)
tree2cbc6b9c4a532a5925d5eed4578aa525b71bc212 /mk/platform
parent5e344d77fd0c6e0dc3fe276db907d739e1d6644f (diff)
downloadpkgsrc-c9d57431de19615768482f3d434e9266e0cae883.tar.gz
Always set _OPSYS_CAN_CHECK_SHLIBS to "yes" regardless of whether
TOOLS_PATH.readelf is set. This is a PKG_DEVELOPER feature and it's likely the developer is smart enough to either have it already available in $PATH or be able to install it (e.g. via devel/binutils) if required.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/SunOS.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index 12ca1aca9bc..c8a2f393296 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.66 2015/10/26 09:33:16 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.67 2015/11/16 15:59:59 jperkin Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -115,11 +115,7 @@ _OPSYS_SYSTEM_RPATH?= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
_OPSYS_INCLUDE_DIRS?= /usr/include
-# Enable shlibs checks if readelf is set, not available by default.
-_OPSYS_CAN_CHECK_SHLIBS= no
-.if !empty(TOOLS_PATH.readelf)
-_OPSYS_CAN_CHECK_SHLIBS= yes
-.endif
+_OPSYS_CAN_CHECK_SHLIBS= yes # requires readelf
# 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.