From 9b73eceb0afededbe8d7053deddaba4309221dca Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 24 Aug 2013 09:36:43 +0000 Subject: share hacks.mk with its base package. --- devel/gdbus-codegen/hacks.mk | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'devel/gdbus-codegen/hacks.mk') diff --git a/devel/gdbus-codegen/hacks.mk b/devel/gdbus-codegen/hacks.mk index c38552e8dd2..cc50d3690c7 100644 --- a/devel/gdbus-codegen/hacks.mk +++ b/devel/gdbus-codegen/hacks.mk @@ -1,29 +1,3 @@ -# $NetBSD: hacks.mk,v 1.3 2013/08/17 04:59:07 obache Exp $ +# $NetBSD: hacks.mk,v 1.4 2013/08/24 09:36:43 obache Exp $ -.if !defined(GDBUS_CODEGEN_HACKS_MK) -GDBUS_CODEGEN_HACKS_MK= # defined - -.if ${OPSYS} == "Darwin" -CHECK_BUILTIN.libiconv:= yes -. include "../../converters/libiconv/builtin.mk" -CHECK_BUILTIN.libiconv:= no -. if !empty(USE_BUILTIN.iconv:M[Yy][Ee][Ss]) -PKG_HACKS+= darwin-iconv -SUBST_CLASSES+= iconv -SUBST_STAGE.iconv= pre-configure -SUBST_MESSAGE.iconv= Changing libiconv_open to iconv_open. -SUBST_FILES.iconv= configure -SUBST_SED.iconv= -e 's,libiconv_open,iconv_open,g' -. endif -.endif - -# -# GLib2>=2.36 depends on builtin functions which enabled with i486 and -# later with GCC. -# -.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5]*-i386) -GNU_ARCH.i386= i486 -CFLAGS+= -march=i486 -.endif - -.endif +.sinclude "../../devel/glib2/hacks.mk" -- cgit v1.2.3