diff options
author | dbj <dbj@pkgsrc.org> | 2016-02-02 06:30:34 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2016-02-02 06:30:34 +0000 |
commit | ae5a880a9c7a86ad54b9ec7726e31e0038c29917 (patch) | |
tree | bc7af76483c26bfc761562075186bbe6917a8e1d | |
parent | ec0abf65e580fda6858f6f3cfdb97f7c548864ac (diff) | |
download | pkgsrc-ae5a880a9c7a86ad54b9ec7726e31e0038c29917.tar.gz |
fix build on Darwin
-rw-r--r-- | cross/arm-none-eabi-gdb/Makefile | 11 | ||||
-rw-r--r-- | cross/arm-none-eabi-gdb/PLIST | 4 |
2 files changed, 12 insertions, 3 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} diff --git a/cross/arm-none-eabi-gdb/PLIST b/cross/arm-none-eabi-gdb/PLIST index 8ff9c665963..7925219c4e8 100644 --- a/cross/arm-none-eabi-gdb/PLIST +++ b/cross/arm-none-eabi-gdb/PLIST @@ -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 |