Permalink
Browse files

Remove long-unused GNU ar and ranlib

The libarchive-based replacements have been used since 2009; the GNU
ones were kept to support source upgrades from FreeBSD 6.

Approved by:	re@ (delphij)
  • Loading branch information...
1 parent 9e3370c commit 2d5f7eb23b38567945d1b51ec04d17acff477483 @emaste emaste committed Oct 1, 2013
View
@@ -38,6 +38,9 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20131001: ar and ranlib from binutils not used
+OLD_FILES+=usr/bin/gnu-ar
+OLD_FILES+=usr/bin/gnu-ranlib
# 20130930: BIND removed from base
OLD_FILES+=etc/namedb
OLD_FILES+=etc/periodic/daily/470.status-named
@@ -1,7 +1,7 @@
# $FreeBSD$
SUBDIR= libiberty libbfd libopcodes libbinutils \
- addr2line ar as ld nm objcopy objdump ranlib readelf \
+ addr2line as ld nm objcopy objdump readelf \
size strings strip doc
.include <bsd.subdir.mk>
@@ -1,28 +0,0 @@
-# $FreeBSD$
-
-.include "../Makefile.inc0"
-.include <bsd.own.mk>
-
-.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
-
-PROGNAME= gnu-ar
-MAN= gnu-ar.1
-gnu-ar.1: ar.1
- cat ${.ALLSRC} > ${.TARGET}
-CLEANFILES+= gnu-ar.1
-
-PROG= ar
-SRCS= ar.c not-ranlib.c
-CFLAGS+= -D_GNU_SOURCE
-CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
-CFLAGS+= -I${SRCDIR}/binutils
-CFLAGS+= -I${SRCDIR}/bfd
-.if ${MK_SHARED_TOOLCHAIN} == "no"
-NO_SHARED?= yes
-.endif
-DPADD= ${RELTOP}/libbinutils/libbinutils.a
-DPADD+= ${RELTOP}/libbfd/libbfd.a
-DPADD+= ${RELTOP}/libiberty/libiberty.a
-LDADD= ${DPADD}
-
-.include <bsd.prog.mk>
Oops, something went wrong.

0 comments on commit 2d5f7eb

Please sign in to comment.