diff options
author | joerg <joerg> | 2007-07-03 17:42:58 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-07-03 17:42:58 +0000 |
commit | db8c6470ed84ded0eacfa5164266246f259436f0 (patch) | |
tree | 26ce148cc9f6ae168e3bf9bb2162ee21d8507c51 /devel/pkg-config/Makefile | |
parent | 0a93ceb4e4f92a9e00800ab3f2fd385d51a458b5 (diff) | |
download | pkgsrc-db8c6470ed84ded0eacfa5164266246f259436f0.tar.gz |
Add cross-compilation support: realloc(NULL, x) works as expected
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.
Diffstat (limited to 'devel/pkg-config/Makefile')
-rw-r--r-- | devel/pkg-config/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile index c93396d24c3..dac604a8f4d 100644 --- a/devel/pkg-config/Makefile +++ b/devel/pkg-config/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/06/01 19:03:46 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2007/07/03 17:42:58 joerg Exp $ # DISTNAME= pkg-config-0.21 @@ -27,6 +27,10 @@ CONFLICTS= pkgconfig-[0-9]* 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 |