summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2013-02-22 22:45:12 +0000
committermarkd <markd@pkgsrc.org>2013-02-22 22:45:12 +0000
commitb732fe4fbd127f7980d9251998d29e77e28c47b2 (patch)
tree045067aa43ded375e49cf793f6946a6b9255c4a9 /mk
parent971b86a456763132a7924653c4ef7c8dd487d42f (diff)
downloadpkgsrc-b732fe4fbd127f7980d9251998d29e77e28c47b2.tar.gz
In pkgsrc, 64bit linux libraries should install into lib rather than lib64.
Make sure cmake does this.
Diffstat (limited to 'mk')
-rw-r--r--mk/configure/cmake.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/configure/cmake.mk b/mk/configure/cmake.mk
index 60a54e0a63f..43fddf3ae36 100644
--- a/mk/configure/cmake.mk
+++ b/mk/configure/cmake.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cmake.mk,v 1.8 2011/01/12 07:21:30 adam Exp $
+# $NetBSD: cmake.mk,v 1.9 2013/02/22 22:45:12 markd Exp $
#
# This file handles packages that use CMake as their primary build
# system. For more information about CMake, see http://www.cmake.org/.
@@ -20,6 +20,7 @@ _CMAKE_DIR= ${BUILDLINK_DIR}/cmake-Modules
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
CMAKE_ARGS+= -DCMAKE_MODULE_PATH:PATH=${_CMAKE_DIR}
+CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR:PATH=lib
.if ${OPSYS} != "Darwin"
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE
.else