pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/graphite2 graphite2: install the libtool .la ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b34cc2387f1
branches: trunk
changeset: 318366:2b34cc2387f1
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Jan 24 13:42:55 2019 +0000
description:
graphite2: install the libtool .la file and use it instead of .so files
Should fix build on Linux and maybe Darwin also. Bump.
diffstat:
graphics/graphite2/Makefile | 3 ++-
graphics/graphite2/PLIST | 6 ++----
graphics/graphite2/distinfo | 3 ++-
graphics/graphite2/patches/patch-src_CMakeLists.txt | 19 +++++++++++++++++++
4 files changed, 25 insertions(+), 6 deletions(-)
diffs (65 lines):
diff -r 7a1a38d5e269 -r 2b34cc2387f1 graphics/graphite2/Makefile
--- a/graphics/graphite2/Makefile Thu Jan 24 13:07:04 2019 +0000
+++ b/graphics/graphite2/Makefile Thu Jan 24 13:42:55 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/03/07 11:14:03 ryoon Exp $
+# $NetBSD: Makefile,v 1.9 2019/01/24 13:42:55 tnn Exp $
DISTNAME= graphite2-1.3.11
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silgraphite/}
EXTRACT_SUFX= .tgz
diff -r 7a1a38d5e269 -r 2b34cc2387f1 graphics/graphite2/PLIST
--- a/graphics/graphite2/PLIST Thu Jan 24 13:07:04 2019 +0000
+++ b/graphics/graphite2/PLIST Thu Jan 24 13:42:55 2019 +0000
@@ -1,12 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2016/01/26 13:56:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/01/24 13:42:55 tnn Exp $
bin/gr2fonttest
include/graphite2/Font.h
include/graphite2/Log.h
include/graphite2/Segment.h
include/graphite2/Types.h
-lib/libgraphite2.so
-lib/libgraphite2.so.3
-lib/libgraphite2.so.3.0.1
+lib/libgraphite2.la
lib/pkgconfig/graphite2.pc
share/graphite2/graphite2-release.cmake
share/graphite2/graphite2.cmake
diff -r 7a1a38d5e269 -r 2b34cc2387f1 graphics/graphite2/distinfo
--- a/graphics/graphite2/distinfo Thu Jan 24 13:07:04 2019 +0000
+++ b/graphics/graphite2/distinfo Thu Jan 24 13:42:55 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2018/03/07 11:14:03 ryoon Exp $
+$NetBSD: distinfo,v 1.10 2019/01/24 13:42:55 tnn Exp $
SHA1 (graphite2-1.3.11.tgz) = 26b70897bac68868d964ef70002c384ec10b6572
RMD160 (graphite2-1.3.11.tgz) = fa10a176d3e53d9d464384c828fc86e4bb2fb675
SHA512 (graphite2-1.3.11.tgz) = fd5e997a30492a7668ad7afd78889e40cb37195cb8e11f42817ee00901b699d6a591e8230bf7a40abd1b218ae26588948a92b23e48c9fd03164fd5e2f4031afe
Size (graphite2-1.3.11.tgz) = 4236760 bytes
+SHA1 (patch-src_CMakeLists.txt) = 97dad5f29114b9545eeb0a6fd6739103df9fb21b
diff -r 7a1a38d5e269 -r 2b34cc2387f1 graphics/graphite2/patches/patch-src_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/graphite2/patches/patch-src_CMakeLists.txt Thu Jan 24 13:42:55 2019 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.6 2019/01/24 13:42:55 tnn Exp $
+
+Always install the libtool .la file.
+
+--- src/CMakeLists.txt.orig 2018-03-05 04:05:42.000000000 +0000
++++ src/CMakeLists.txt
+@@ -159,6 +159,12 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Wind
+ COMPILE_DEFINITIONS "_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;UNICODE;GRAPHITE2_EXPORTING")
+ endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+
++if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
++ target_link_libraries(graphite2 c)
++ include(Graphite)
++ set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
++ CREATE_LIBTOOL_FILE(graphite2 "/lib${LIB_SUFFIX}")
++endif (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
+
+ install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
+ install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)
Home |
Main Index |
Thread Index |
Old Index