2008-04-17 00:50:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2008/04/16 22:50:43 reed Exp $
|
2005-07-21 18:22:42 +02:00
|
|
|
#
|
|
|
|
|
2008-03-04 10:22:27 +01:00
|
|
|
DISTNAME= pkg-config-0.23
|
2005-07-21 18:22:42 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-07-21 18:22:42 +02:00
|
|
|
HOMEPAGE= http://pkgconfig.freedesktop.org/
|
|
|
|
COMMENT= System for managing library compile/link flags
|
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-11-02 18:59:37 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2005-07-21 18:22:42 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
|
|
|
|
# old name of the package
|
|
|
|
CONFLICTS= pkgconfig-[0-9]*
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-04-17 00:50:43 +02:00
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
|
|
. if ${OS_VERSION:R} < 5
|
|
|
|
# configure checks but does not fail on warning
|
|
|
|
CONFIGURE_ENV+= glib_cv_va_copy=no
|
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
2005-07-21 18:22:42 +02:00
|
|
|
.if ${OPSYS} == "IRIX"
|
|
|
|
# configure bails out in subdir after re-parsing the cache
|
|
|
|
CONFIGURE_ARGS+= --cache-file=/dev/null
|
|
|
|
.endif
|
|
|
|
|
2007-07-03 19:42:58 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
CONFIGURE_ARGS+= glib_cv_sane_realloc=yes glib_cv_uscore=no
|
2008-03-24 15:27:33 +01:00
|
|
|
CONFIGURE_ARGS+= glib_cv_rtldglobal_broken=no
|
2007-07-03 19:42:58 +02:00
|
|
|
.endif
|
|
|
|
|
2005-07-21 18:22:42 +02:00
|
|
|
# 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"
|