diff options
author | leot <leot@pkgsrc.org> | 2017-12-09 19:36:32 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2017-12-09 19:36:32 +0000 |
commit | f08c69a907e525cbb5971931f4e01000165ea160 (patch) | |
tree | 61ff90595163be81366f3094c7600cccee5f57d9 /comms/gammu | |
parent | 202121cbea3a2320e5a4281540e91e7cc4587426 (diff) | |
download | pkgsrc-f08c69a907e525cbb5971931f4e01000165ea160.tar.gz |
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 (limited to 'comms/gammu')
-rw-r--r-- | comms/gammu/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile index 6451c093714..8c13da13c2b 100644 --- a/comms/gammu/Makefile +++ b/comms/gammu/Makefile @@ -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 @@ REPLACE_BASH= utils/gammu-config utils/jadmaker # 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" |