on NetBSD, just assume that anything follows the ELF semantic and has no leading underscore. This doesn't matter much as the module support of glib is not used by pkg-config. Patch away the check for ANSI library flags as we only support ANSI C compiler anyway. Move the checks for the various inline keywords to compile-only. Always fake the poll results, it doesn't really matter either.
39 lines
967 B
Makefile
39 lines
967 B
Makefile
# $NetBSD: Makefile,v 1.9 2007/07/03 17:42:58 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= pkg-config-0.21
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pkgconfig.freedesktop.org/
|
|
COMMENT= System for managing library compile/link flags
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
# old name of the package
|
|
CONFLICTS= pkgconfig-[0-9]*
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "IRIX"
|
|
# configure bails out in subdir after re-parsing the cache
|
|
CONFIGURE_ARGS+= --cache-file=/dev/null
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= glib_cv_sane_realloc=yes glib_cv_uscore=no
|
|
.endif
|
|
|
|
# needed for fifth test case
|
|
BUILDLINK_PASSTHRU_DIRS= /private-dep /public-dep /requires-test
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|