pkgsrc-WIP-changes archive

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

gdb-git: Sorry - drop DragonFly BSD support in this package



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Sep 12 20:06:04 2017 +0200
Changeset:	59b5389bd15f2c5e3a4088aa631bb72b2eacef97

Modified Files:
	gdb-git/Makefile
Removed Files:
	gdb-git/PLIST.DragonFly

Log Message:
gdb-git: Sorry - drop DragonFly BSD support in this package

No code for DragonFly in upstream GDB. Apparently there was never one.

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

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

diffstat:
 gdb-git/Makefile        | 14 +++-----------
 gdb-git/PLIST.DragonFly |  3 ---
 2 files changed, 3 insertions(+), 14 deletions(-)

diffs:
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index b426cf4b57..4282d68f7b 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -15,6 +15,9 @@ HOMEPAGE=	http://www.gnu.org/software/gdb/gdb.html
 COMMENT=	Symbolic debugger for multiple language frontends
 LICENSE=	gnu-gpl-v3
 
+# No code for DragonFly in GDB
+NOT_FOR_PLATFORM+=	DragonFly-*-*
+
 USE_LANGUAGES=		c c++11
 
 GNU_CONFIGURE=		YES
@@ -62,13 +65,6 @@ 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 ${OPSYS} == "DragonFly"
-TARGET_STR=		${MACHINE_ARCH}--dragonfly
-BUILD_DEFS+=		${TARGET_STR}
-## Remove "-pc" string, without this, getting following message:
-##	   *** Gdb does not support native target i386-pc-dragonfly"
-CONFIGURE_ARGS+=		--target=${TARGET_STR}
-TEST_ENV=		DEJAGNU=${WRKDIR}/../files/dragonfly-default.exp
 .elif !empty(OPSYS:MLinux)
 PLIST.gcore=		YES
 PLIST.gdbserver=	YES
@@ -82,10 +78,6 @@ check-base:
 
 post-install:
 	${RM} -f ${DESTDIR}/${PREFIX}/lib/charset.alias
-.if ${OPSYS} == "DragonFly"
-	(cd ${DESTDIR}${PREFIX}/bin;               ${LN} ${TARGET_STR}-gdb gdb)
-	(cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; ${LN} ${TARGET_STR}-gdb.1 gdb.1)
-.endif
 #
 # PATH of libiberty.a differs between clang and gcc: (and conflicts to other toolchain)
 # Rename to avoid conflict to native and other toolchain
diff --git a/gdb-git/PLIST.DragonFly b/gdb-git/PLIST.DragonFly
deleted file mode 100644
index 0dc050ef35..0000000000
--- a/gdb-git/PLIST.DragonFly
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.DragonFly,v 1.1 2013/02/04 11:05:06 makoto Exp $
-bin/i386--dragonfly-gdb
-man/man1/i386--dragonfly-gdb.1


Home | Main Index | Thread Index | Old Index