version 1.202, 2012/05/04 10:22:08 |
version 1.217, 2013/08/17 11:52:36 |
|
|
# $NetBSD$ |
# $NetBSD$ |
|
|
.include "Makefile.common" |
.include "Makefile.common" |
.include "options.mk" |
|
|
|
PKGREVISION= 1 |
CATEGORIES= devel gnome |
CATEGORIES= devel |
|
|
|
COMMENT= Some useful routines for C programming (glib2) |
COMMENT= Some useful routines for C programming (glib2) |
|
|
USE_TOOLS+= msgfmt perl:run |
USE_TOOLS+= msgfmt perl:run readlink |
|
|
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in |
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in |
PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in |
PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in |
Line 40 CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_R |
|
Line 38 CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_R |
|
# needs gz_header structure |
# needs gz_header structure |
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1 |
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1 |
|
|
LIBS.SunOS+= -lnsl -lsocket |
LIBS.SunOS+= -lnsl -lsocket |
|
CPPFLAGS.SunOS+= -DBSD_COMP |
|
|
.if ${OBJECT_FMT} == "ELF" |
.if ${OBJECT_FMT} == "ELF" |
.include "../../devel/libelf/buildlink3.mk" |
. if ${OPSYS} == "SunOS" |
|
. if ${ABI} == 32 |
|
# Solaris libelf in 32-bit mode does not support largefile. We patch files |
|
# individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf |
|
# after configure disabled it. |
|
CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
|
. endif |
|
. else |
|
. include "../../devel/libelf/buildlink3.mk" |
|
. endif |
.endif |
.endif |
|
|
.include "../../converters/libiconv/buildlink3.mk" |
.include "../../converters/libiconv/buildlink3.mk" |