diff options
author | tron <tron> | 2013-04-20 09:18:36 +0000 |
---|---|---|
committer | tron <tron> | 2013-04-20 09:18:36 +0000 |
commit | 822b84b045c8c3ea72e77c5e4ca8b60c2ead8a40 (patch) | |
tree | eb66051da579ba686d78a60fabae49e21520711d | |
parent | f4e1d88a5ac02fc5d47db207fb86e65e990f134b (diff) | |
download | pkgsrc-822b84b045c8c3ea72e77c5e4ca8b60c2ead8a40.tar.gz |
Fix build under Mac OS X by surpressing the GCC compiler option
"-Werror=missing-prototypes". At least one of the system header files
("emmintrin.h") cannot be compiled with this constraint.
-rw-r--r-- | devel/glib2/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib2/Makefile.common b/devel/glib2/Makefile.common index b4fd9166668..4afc32044ee 100644 --- a/devel/glib2/Makefile.common +++ b/devel/glib2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.27 2013/04/19 22:21:41 prlw1 Exp $ +# $NetBSD: Makefile.common,v 1.28 2013/04/20 09:18:36 tron Exp $ # # used by devel/glib2/Makefile # used by devel/gdbus-codegen/Makefile @@ -67,6 +67,10 @@ SUBST_MESSAGE.thr= Fixing libgthread. CONFIGURE_ENV+= gt_cv_c_wchar_t=no .endif +.if ${OPSYS} == "Darwin" +BUILDLINK_TRANSFORM+= rm:-Werror=missing-prototypes +.endif + .if ${OPSYS} == "HPUX" CONFIGURE_ENV+= ac_cv_func_mmap_fixed_mapped=yes .endif |