install the pkgconfig file into a location where it can be found

This commit is contained in:
jasper 2011-06-05 14:28:53 +00:00
parent 2964072c46
commit 602883bb94
3 changed files with 17 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2011/04/29 11:47:12 sthen Exp $
# $OpenBSD: Makefile,v 1.3 2011/06/05 14:28:53 jasper Exp $
PKG_ARCH = *
COMMENT = lightweight C++ template library for linear algebra
@ -10,6 +10,7 @@ VERSION = 2.0.14
DISTNAME = ${VERSION}
PKGNAME = eigen2-${VERSION}
WRKDIST = ${WRKDIR}/eigen-eigen-f30db88dec8b
REVISION = 0
# relaxed GPL (LGPL for template libs)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1 2011/06/05 14:28:53 jasper Exp $
--- CMakeLists.txt.orig Sun Jun 5 16:17:16 2011
+++ CMakeLists.txt Sun Jun 5 16:17:19 2011
@@ -120,7 +120,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAK
if(EIGEN_BUILD_PKGCONFIG)
configure_file(eigen2.pc.in eigen2.pc) # uses INCLUDE_INSTALL_DIR
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen2.pc
- DESTINATION share/pkgconfig
+ DESTINATION lib/pkgconfig
)
endif(EIGEN_BUILD_PKGCONFIG)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/12 04:51:37 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/06/05 14:28:53 jasper Exp $
include/eigen2/
include/eigen2/Eigen/
include/eigen2/Eigen/Array
@ -143,5 +143,5 @@ include/eigen2/unsupported/Eigen/src/
include/eigen2/unsupported/Eigen/src/IterativeSolvers/
include/eigen2/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h
include/eigen2/unsupported/Eigen/src/IterativeSolvers/IterationController.h
share/pkgconfig/
share/pkgconfig/eigen2.pc
lib/pkgconfig/
lib/pkgconfig/eigen2.pc