pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/comms/gammu



Module Name:    pkgsrc
Committed By:   leot
Date:           Sat Dec  9 19:36:32 UTC 2017

Modified Files:
        pkgsrc/comms/gammu: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/comms/gammu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/comms/gammu/Makefile
diff -u pkgsrc/comms/gammu/Makefile:1.26 pkgsrc/comms/gammu/Makefile:1.27
--- pkgsrc/comms/gammu/Makefile:1.26    Sun Oct 22 18:43:28 2017
+++ pkgsrc/comms/gammu/Makefile Sat Dec  9 19:36:32 2017
@@ -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/j
 # 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