blob: d048a3d5003274ca5fc94c208640bbda57b1cab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.42 2018/11/12 03:51:32 ryoon Exp $
DISTNAME= libunique-1.1.6
PKGREVISION= 27
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libunique/1.1/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/Attic/LibUnique
COMMENT= Library for writing single instance applications (deprecated)
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
PKGCONFIG_OVERRIDE+= unique.pc.in
BUILDLINK_TRANSFORM+= rm:-Werror
# Workaround for Upstream Bug#562310.
# for more detail, see also PR#41475.
TOOLS_NOOP+= gtkdoc-rebase
SUBST_CLASSES+= g_const
SUBST_STAGE.g_const= post-configure
SUBST_MESSAGE.g_const= Replace deprecated G_CONST_RETURN with plain "const".
SUBST_FILES.g_const= unique/uniqueapp.c
SUBST_FILES.g_const+= unique/uniquebackend.c
SUBST_FILES.g_const+= unique/uniquebackend.h
SUBST_FILES.g_const+= unique/uniqueinternals.h
SUBST_FILES.g_const+= unique/uniquemessage.c
SUBST_FILES.g_const+= unique/uniquemessage.h
SUBST_SED.g_const= -e 's/G_CONST_RETURN /const /g'
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -Wno-tautological-compare
.endif
.include "options.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|