summaryrefslogtreecommitdiff
path: root/cross/arm-none-eabi-gdb/Makefile
diff options
context:
space:
mode:
authordbj <dbj>2016-02-02 06:30:34 +0000
committerdbj <dbj>2016-02-02 06:30:34 +0000
commitffc0ab398f4a2881c61c31d9a7c471ab9ddafd4d (patch)
treebc7af76483c26bfc761562075186bbe6917a8e1d /cross/arm-none-eabi-gdb/Makefile
parentc37e4ff57433c51ef6ecc4afd3b7a0c8f6200b95 (diff)
downloadpkgsrc-ffc0ab398f4a2881c61c31d9a7c471ab9ddafd4d.tar.gz
fix build on Darwin
Diffstat (limited to 'cross/arm-none-eabi-gdb/Makefile')
-rw-r--r--cross/arm-none-eabi-gdb/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/cross/arm-none-eabi-gdb/Makefile b/cross/arm-none-eabi-gdb/Makefile
index ee33945a65f..c692af699f6 100644
--- a/cross/arm-none-eabi-gdb/Makefile
+++ b/cross/arm-none-eabi-gdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/10/11 01:15:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2016/02/02 06:30:34 dbj Exp $
DISTNAME= gdb-7.10
PKGNAME= cross-arm-none-eabi-${DISTNAME}
@@ -25,6 +25,15 @@ CONFIGURE_ARGS+= --disable-werror --target=arm-none-eabi
CONFIGURE_ARGS+= --disable-nls
INFO_FILES= yes
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= charsetalias
+# this theoretically should match check for
+# install-exec-localcharset in ${WRKSRC}/gdb/gnulib/import/Makefile.am
+.if ${OPSYS} != Darwin
+PLIST.charsetalias= yes
+.endif
+
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}