diff options
author | obache <obache@pkgsrc.org> | 2013-08-24 09:36:43 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-08-24 09:36:43 +0000 |
commit | 9b73eceb0afededbe8d7053deddaba4309221dca (patch) | |
tree | 59d6362f687d8b4efe5659b69cd24aae984e74db /devel/gdbus-codegen | |
parent | 8e7131a2e3d85e42cc8a31875ca5551f3fd7b9d5 (diff) | |
download | pkgsrc-9b73eceb0afededbe8d7053deddaba4309221dca.tar.gz |
share hacks.mk with its base package.
Diffstat (limited to 'devel/gdbus-codegen')
-rw-r--r-- | devel/gdbus-codegen/hacks.mk | 30 |
1 files changed, 2 insertions, 28 deletions
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" |