| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.228 2016/04/07 18:33:05 prlw1 Exp $ | | 1 | # $NetBSD: Makefile,v 1.229 2016/04/09 06:11:15 richard Exp $ |
2 | | | 2 | |
3 | .include "Makefile.common" | | 3 | .include "Makefile.common" |
4 | | | 4 | |
5 | CATEGORIES= devel gnome | | 5 | CATEGORIES= devel gnome |
6 | | | 6 | |
7 | COMMENT= Some useful routines for C programming (glib2) | | 7 | COMMENT= Some useful routines for C programming (glib2) |
8 | | | 8 | |
9 | USE_TOOLS+= msgfmt perl:run readlink | | 9 | USE_TOOLS+= msgfmt perl:run readlink |
10 | | | 10 | |
11 | PKGCONFIG_OVERRIDE+= glib-2.0.pc.in | | 11 | PKGCONFIG_OVERRIDE+= glib-2.0.pc.in |
12 | PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in | | 12 | PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in |
13 | PKGCONFIG_OVERRIDE+= gmodule-export-2.0.pc.in | | 13 | PKGCONFIG_OVERRIDE+= gmodule-export-2.0.pc.in |
14 | PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0.pc.in | | 14 | PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0.pc.in |
| @@ -33,27 +33,27 @@ CHECK_INTERPRETER_SKIP+= bin/gdbus-codeg | | | @@ -33,27 +33,27 @@ CHECK_INTERPRETER_SKIP+= bin/gdbus-codeg |
33 | BUILDLINK_API_DEPENDS.pcre+= pcre>=8.31 | | 33 | BUILDLINK_API_DEPENDS.pcre+= pcre>=8.31 |
34 | # to avoid pkg-config dependency, explicitly specify pcre location | | 34 | # to avoid pkg-config dependency, explicitly specify pcre location |
35 | CONFIGURE_ARGS+= PCRE_CFLAGS=-I${BUILDLINK_PREFIX.pcre}/include | | 35 | CONFIGURE_ARGS+= PCRE_CFLAGS=-I${BUILDLINK_PREFIX.pcre}/include |
36 | CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre}/lib -L${BUILDLINK_PREFIX.pcre}/lib -lpcre" | | 36 | CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre}/lib -L${BUILDLINK_PREFIX.pcre}/lib -lpcre" |
37 | | | 37 | |
38 | # needs gz_header structure | | 38 | # needs gz_header structure |
39 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1 | | 39 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1 |
40 | | | 40 | |
41 | LIBS.SunOS+= -lnsl -lsocket | | 41 | LIBS.SunOS+= -lnsl -lsocket |
42 | CPPFLAGS.SunOS+= -DBSD_COMP | | 42 | CPPFLAGS.SunOS+= -DBSD_COMP |
43 | | | 43 | |
44 | .if ${OBJECT_FMT} == "ELF" | | 44 | .if ${OBJECT_FMT} == "ELF" |
45 | . if ${OPSYS} == "SunOS" | | 45 | . if ${OPSYS} == "SunOS" |
46 | . if ${ABI} == 32 | | 46 | . if empty(ABI:U:M64) |
47 | # Solaris libelf in 32-bit mode does not support largefile. We patch files | | 47 | # Solaris libelf in 32-bit mode does not support largefile. We patch files |
48 | # individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf | | 48 | # individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf |
49 | # after configure disabled it. | | 49 | # after configure disabled it. |
50 | CONFIGURE_ENV+= LIBELF_LIBS='-lelf' | | 50 | CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
51 | . endif | | 51 | . endif |
52 | . else | | 52 | . else |
53 | . include "../../devel/libelf/buildlink3.mk" | | 53 | . include "../../devel/libelf/buildlink3.mk" |
54 | . endif | | 54 | . endif |
55 | .endif | | 55 | .endif |
56 | | | 56 | |
57 | .include "../../converters/libiconv/buildlink3.mk" | | 57 | .include "../../converters/libiconv/buildlink3.mk" |
58 | .include "../../devel/gettext-lib/buildlink3.mk" | | 58 | .include "../../devel/gettext-lib/buildlink3.mk" |
59 | .include "../../devel/pcre/buildlink3.mk" | | 59 | .include "../../devel/pcre/buildlink3.mk" |