| @@ -1,40 +1,40 @@ | | | @@ -1,40 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.135 2017/07/30 22:47:49 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.136 2017/10/16 18:46:55 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= libgnomeui-2.24.5 | | 4 | DISTNAME= libgnomeui-2.24.5 |
5 | PKGREVISION= 34 | | 5 | PKGREVISION= 34 |
6 | CATEGORIES= devel gnome | | 6 | CATEGORIES= devel gnome |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeui/2.24/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeui/2.24/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.gnome.org/ | | 11 | HOMEPAGE= https://www.gnome.org/ |
12 | COMMENT= Core GNOME2 graphical libraries | | 12 | COMMENT= Core GNOME2 graphical libraries |
13 | LICENSE= gnu-lgpl-v2 | | 13 | LICENSE= gnu-lgpl-v2 |
14 | | | 14 | |
15 | CONFLICTS+= gnome-libs<=1.4.2nb1 | | 15 | CONFLICTS+= gnome-libs<=1.4.2nb1 |
16 | | | 16 | |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | USE_PKGLOCALEDIR= yes | | 18 | USE_PKGLOCALEDIR= yes |
19 | USE_TOOLS+= gmake msgfmt perl pkg-config intltool | | 19 | USE_TOOLS+= gmake msgfmt perl pkg-config intltool |
20 | USE_LIBTOOL= yes | | 20 | USE_LIBTOOL= yes |
21 | | | 21 | |
22 | PKGCONFIG_BASE= ${WRKSRC}/libgnomeui/libgnomeui-2.0.pc | | 22 | PKGCONFIG_BASE= ${WRKSRC}/libgnomeui/libgnomeui-2.0.pc |
23 | PKGCONFIG_OVERRIDE= ${PKGCONFIG_BASE}.in | | 23 | PKGCONFIG_OVERRIDE= ${PKGCONFIG_BASE}.in |
24 | | | 24 | |
25 | .include "../../mk/compiler.mk" | | 25 | .include "../../mk/compiler.mk" |
26 | | | 26 | |
27 | .if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc-[7-9]*) | | 27 | .if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc-[6-9]*) |
28 | SUBST_CLASSES+= xopen | | 28 | SUBST_CLASSES+= xopen |
29 | SUBST_STAGE.xopen= pre-configure | | 29 | SUBST_STAGE.xopen= pre-configure |
30 | SUBST_FILES.xopen= libgnomeui/gnome-file-entry.c libgnomeui/gnome-client.c | | 30 | SUBST_FILES.xopen= libgnomeui/gnome-file-entry.c libgnomeui/gnome-client.c |
31 | SUBST_FILES.xopen+= libgnomeui/gnome-dateedit.c | | 31 | SUBST_FILES.xopen+= libgnomeui/gnome-dateedit.c |
32 | SUBST_SED.xopen= -e '/_XOPEN_SOURCE/s/500/600/' | | 32 | SUBST_SED.xopen= -e '/_XOPEN_SOURCE/s/500/600/' |
33 | SUBST_SED.xopen+= -e '/_XOPEN_SOURCE$$/s/$$/ 600/' | | 33 | SUBST_SED.xopen+= -e '/_XOPEN_SOURCE$$/s/$$/ 600/' |
34 | .endif | | 34 | .endif |
35 | | | 35 | |
36 | # Needed because part of the pc files doesn't get filled in till after | | 36 | # Needed because part of the pc files doesn't get filled in till after |
37 | # configure does its pass | | 37 | # configure does its pass |
38 | post-configure: | | 38 | post-configure: |
39 | ${SED} ${PKGCONFIG_OVERRIDE_SED} < ${PKGCONFIG_BASE} > \ | | 39 | ${SED} ${PKGCONFIG_OVERRIDE_SED} < ${PKGCONFIG_BASE} > \ |
40 | ${PKGCONFIG_BASE}.tmp | | 40 | ${PKGCONFIG_BASE}.tmp |