freebsd-ports/graphics/osg/files/patch-CMakeLists.txt
Dmitry Marakasov eb22aa0d9c - Update graphics/osg to 3.0.1
- Bump revisions on dependent ports due to shlib version bump
- Remove option to use graphics/osg-devel instead of graphics/osg from simgear and flightgear (1)
- Remove option to use graphics/osg-devel instead of graphics/osg from fgrun for consistency

Submitted by:	martymac (1)
2012-04-26 00:47:48 +00:00

20 lines
853 B
Text

--- CMakeLists.txt.orig 2011-07-31 11:50:34.000000000 +0400
+++ CMakeLists.txt 2012-03-05 05:54:52.485029323 +0400
@@ -588,7 +588,7 @@
IF(UNIX AND NOT WIN32 AND NOT APPLE)
IF(CMAKE_SIZEOF_VOID_P MATCHES "8")
- SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")
+ SET(LIB_POSTFIX "" CACHE STRING "suffix for 32/64 dir placement")
MARK_AS_ADVANCED(LIB_POSTFIX)
ENDIF()
ENDIF()
@@ -972,7 +972,7 @@
${PROJECT_BINARY_DIR}/packaging/pkgconfig/${PKGCONFIG_FILE}.pc
@ONLY
)
- INSTALL(FILES ${PROJECT_BINARY_DIR}/packaging/pkgconfig/${PKGCONFIG_FILE}.pc DESTINATION lib${LIB_POSTFIX}/pkgconfig COMPONENT libopenscenegraph-dev)
+ INSTALL(FILES ${PROJECT_BINARY_DIR}/packaging/pkgconfig/${PKGCONFIG_FILE}.pc DESTINATION libdata/pkgconfig COMPONENT libopenscenegraph-dev)
ENDFOREACH(PKGCONFIG_FILE)