mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
- Add DragonFly support, when .pc file is installed
- Bump PORTREVISION
This commit is contained in:
parent
2284832397
commit
f37fa386ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343817
@ -4,6 +4,7 @@
|
||||
|
||||
PORTNAME= granite
|
||||
PORTVERSION= 0.2.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= https://launchpadlibrarian.net/159802745/ \
|
||||
https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/
|
||||
|
@ -1,12 +1,12 @@
|
||||
--- ./lib/CMakeLists.txt.orig 2013-08-10 02:01:58.000000000 +0000
|
||||
+++ ./lib/CMakeLists.txt 2013-09-28 15:05:02.000000000 +0000
|
||||
@@ -63,7 +63,12 @@
|
||||
--- ./lib/CMakeLists.txt.orig 2013-12-15 12:43:00.000000000 +0000
|
||||
+++ ./lib/CMakeLists.txt 2014-02-11 21:08:46.000000000 +0000
|
||||
@@ -64,7 +64,12 @@
|
||||
if(NOT DEFINED LIB_INSTALL_DIR)
|
||||
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
endif()
|
||||
-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
|
||||
+
|
||||
+if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
+if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
|
||||
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
|
||||
+else ()
|
||||
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
|
||||
|
Loading…
Reference in New Issue
Block a user