pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

binutils-gold-git: Initial transforming from GDB to GOLD




To: pkgsrc-wip-changes%NetBSD.org@localhost

Subject: binutils-gold-git: Initial transforming from GDB to GOLD

From: Kamil Rytarowski <n54%gmx.com@localhost>

Date: Sun, 29 Oct 2017 17:53:17 +0000


Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date:  Sun Oct 29 18:53:17 2017 +0100
Changeset: d5b1e1d5bd7f327e334a2f05098e7a393383ce20

Modified Files:
 binutils-gold-git/Makefile

Log Message:
binutils-gold-git: Initial transforming from GDB to GOLD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d5b1e1d5bd7f327e334a2f05098e7a393383ce20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 binutils-gold-git/Makefile | 42 ++++++++++++------------------------------
 1 file changed, 12 insertions(+), 30 deletions(-)

diffs:
diff --git a/binutils-gold-git/Makefile b/binutils-gold-git/Makefile
index 4282d68f7b..804929ca8d 100644
--- a/binutils-gold-git/Makefile
+++ b/binutils-gold-git/Makefile
@@ -1,21 +1,20 @@
 # $NetBSD: Makefile,v 1.11 2015/03/15 14:22:19 bsiegert Exp $
 #
 
-DISTNAME= gdb-8.0
+DISTNAME= gold-8.0
 CATEGORIES= devel
-GIT_REPOSITORIES= gdb
-#GIT_REPO.gdb=  git://sourceware.org/git/binutils-gdb.git # broken?
-#GIT_REPO.gdb=  http://sourceware.org/git/binutils-gdb.git # broken?
-GIT_REPO.gdb=  https://github.com/wallento/binutils-gdb.git
-#GIT_DEEP_CLONE.gdb= yes # server dies on shallow clones
-WRKSRC=         ${WRKDIR}/gdb
+GIT_REPOSITORIES= gold
+#GIT_REPO.gold=  git://sourceware.org/git/binutils-gdb.git # broken?
+#GIT_REPO.gold=  http://sourceware.org/git/binutils-gdb.git # broken?
+GIT_REPO.gold=  https://github.com/wallento/binutils-gdb.git
+#GIT_DEEP_CLONE.gold= yes # server dies on shallow clones
+WRKSRC=         ${WRKDIR}/gold
 
 MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
-COMMENT= Symbolic debugger for multiple language frontends
+HOMEPAGE= https://www.gnu.org/software/binutils/
+COMMENT= Fast linker for ELF files
 LICENSE= gnu-gpl-v3
 
-# No code for DragonFly in GDB
 NOT_FOR_PLATFORM+= DragonFly-*-*
 
 USE_LANGUAGES=  c c++11
@@ -32,12 +31,13 @@ CONFIGURE_ENV+=  CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
 
 CONFIGURE_ARGS+= --disable-binutils
 CONFIGURE_ARGS+= --disable-gprof
-CONFIGURE_ARGS+= --disable-gold
+CONFIGURE_ARGS+= --enable-gold
 CONFIGURE_ARGS+= --disable-gas
 CONFIGURE_ARGS+= --disable-ld
 CONFIGURE_ARGS+= --enable-targets=all
+CONFIGURE_ARGS+= --disable-gdb
 
-INSTALL_DIRS=  gdb
+INSTALL_DIRS=  gold
 
 # In gdb/configure, depcomp is parsed with sed.
 SUBST_CLASSES+=   fix-depcomp
@@ -52,24 +52,6 @@ AUTO_MKDIRS=  yes
 
 .include "../../mk/bsd.prefs.mk"
 
-PLIST_VARS+= gcore gdbserver
-
-.if ${OPSYS} == "SunOS"
-# Work around a bug in gdb's configure
-CONFIGURE_ENV+=  ac_cv_header_curses_h=yes
-.elif ${OPSYS} == "NetBSD"
-.include "../../mk/curses.buildlink3.mk"
-CONFIGURE_ARGS+= -with-curses
-CONFIGURE_ENV+= gdb_cv_var_elf=yes
-MAKE_ENV+= gdb_cv_var_elf=yes
-CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
-MAKE_ENV+= gdb_cv_struct_lwp=yes
-PLIST.gcore= YES
-.elif !empty(OPSYS:MLinux)
-PLIST.gcore=  YES
-PLIST.gdbserver= YES
-.endif
-
 # TEST_DEPENDS
 BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu
 




Prev by Date: wip/binutils-gold-git: import gdb-8.0nb20171029

Next by Date: edbrowse: Update wip/edbrowse to 3.7.1

Previous by Thread: wip/binutils-gold-git: import gdb-8.0nb20171029

Next by Thread: edbrowse: Update wip/edbrowse to 3.7.1

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index