fix build on Darwin

This commit is contained in:
dbj 2016-02-02 06:30:34 +00:00
parent 6397d4ae22
commit cc9b87c002
2 changed files with 12 additions and 3 deletions

View file

@ -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}

View file

@ -1,11 +1,11 @@
@comment $NetBSD: PLIST,v 1.1 2015/10/11 01:15:18 ryoon Exp $
@comment $NetBSD: PLIST,v 1.2 2016/02/02 06:30:34 dbj Exp $
cross-arm-none-eabi/bin/arm-none-eabi-gdb
cross-arm-none-eabi/bin/arm-none-eabi-run
cross-arm-none-eabi/include/gdb/jit-reader.h
cross-arm-none-eabi/info/annotate.info
cross-arm-none-eabi/info/gdb.info
cross-arm-none-eabi/info/stabs.info
cross-arm-none-eabi/lib/charset.alias
${PLIST.charsetalias}cross-arm-none-eabi/lib/charset.alias
cross-arm-none-eabi/lib/libarm-none-eabi-sim.a
cross-arm-none-eabi/man/man1/arm-none-eabi-gdb.1
cross-arm-none-eabi/man/man1/arm-none-eabi-gdbserver.1