Sat Nov 7 23:16:18 2015 UTC ()
Prevent cmake from finding glib.


(dholland)
diff -r1.14 -r1.15 pkgsrc/comms/gammu/Makefile

cvs diff -r1.14 -r1.15 pkgsrc/comms/gammu/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/gammu/Makefile 2015/08/17 16:42:53 1.14
+++ pkgsrc/comms/gammu/Makefile 2015/11/07 23:16:18 1.15
@@ -1,38 +1,39 @@ @@ -1,38 +1,39 @@
1# $NetBSD: Makefile,v 1.14 2015/08/17 16:42:53 leot Exp $ 1# $NetBSD: Makefile,v 1.15 2015/11/07 23:16:18 dholland Exp $
2# 2#
3 3
4DISTNAME= gammu-1.36.4 4DISTNAME= gammu-1.36.4
5CATEGORIES= comms 5CATEGORIES= comms
6MASTER_SITES= http://dl.cihar.com/gammu/releases/ 6MASTER_SITES= http://dl.cihar.com/gammu/releases/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://wammu.eu/gammu/ 10HOMEPAGE= http://wammu.eu/gammu/
11COMMENT= Command line utility and library to work with mobile phones 11COMMENT= Command line utility and library to work with mobile phones
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14# cmake tests for it; unclear for what it would be used 14# cmake tests for it; unclear for what it would be used
15#BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen 15#BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
16# for gammu-config 16# for gammu-config
17DEPENDS+= dialog-[0-9]*:../../misc/dialog 17DEPENDS+= dialog-[0-9]*:../../misc/dialog
18 18
19USE_CMAKE= yes 19USE_CMAKE= yes
20CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON 20CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
21CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR} 21CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR}
22# make sure some optional dependencies are not found: 22# make sure some optional dependencies are not found:
23CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF 23CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF
24CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF 24CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF
25CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF 25CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF
 26CMAKE_ARGS+= -DWITH_Glib:BOOL=OFF
26# avoid installing bash completion scripts 27# avoid installing bash completion scripts
27CMAKE_ARGS+= -DBASH_BIN:FILEPATH= 28CMAKE_ARGS+= -DBASH_BIN:FILEPATH=
28#CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON 29#CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
29 30
30# silence warning 31# silence warning
31CMAKE_ARGS+= -Wno-dev 32CMAKE_ARGS+= -Wno-dev
32CMAKE_ARGS+= -DINSTALL_DOC=ON 33CMAKE_ARGS+= -DINSTALL_DOC=ON
33 34
34USE_LANGUAGES= c c++ 35USE_LANGUAGES= c c++
35USE_TOOLS+= bash:run msgfmt 36USE_TOOLS+= bash:run msgfmt
36REPLACE_BASH= utils/gammu-config utils/jadmaker 37REPLACE_BASH= utils/gammu-config utils/jadmaker
37 38
38# needed because of https://bugs.cihar.com/view.php?id=908 39# needed because of https://bugs.cihar.com/view.php?id=908