pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/gammu gammu: Do not set a LIB_SUFFIX in CMakeLis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b02260e5483
branches: trunk
changeset: 372534:9b02260e5483
user: leot <leot%pkgsrc.org@localhost>
date: Sat Dec 09 19:36:32 2017 +0000
description:
gammu: Do not set a LIB_SUFFIX in CMakeLists.txt
On some platforms (strictly speaking the ones that have libm
somewhere in a path with /lib64/) LIB_SUFFIX is set to `64' leading
to install phase/PLIST errors due libraries and pkg-config `.pc'
files are tried to be installed in `lib64/'.
Add a `cmakelists' SUBST_CLASS to avoid that.
This should fix problems noticed on Joyent CentOS 7.2/x86_64 bulk builds.
diffstat:
comms/gammu/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 5eaed1c4ffe3 -r 9b02260e5483 comms/gammu/Makefile
--- a/comms/gammu/Makefile Sat Dec 09 19:32:25 2017 +0000
+++ b/comms/gammu/Makefile Sat Dec 09 19:36:32 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2017/10/22 18:43:28 leot Exp $
+# $NetBSD: Makefile,v 1.27 2017/12/09 19:36:32 leot Exp $
#
DISTNAME= gammu-1.38.5
@@ -39,6 +39,12 @@
# needed because of https://bugs.cihar.com/view.php?id=908
BUILDLINK_TRANSFORM+= rm:-Werror
+SUBST_CLASSES+= cmakelists
+SUBST_STAGE.cmakelists= pre-configure
+SUBST_MESSAGE.cmakelists= Fixing CMakeLists.txt
+SUBST_FILES.cmakelists= CMakeLists.txt
+SUBST_SED.cmakelists= -e 's/LIB_SUFFIX "64"/LIB_SUFFIX ""/'
+
LDFLAGS.SunOS+= -lintl
.include "../../databases/unixodbc/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index