From fcc69fd9f782c07f8f416f9afe038beb9be3818a Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 21 Feb 2008 16:59:02 +0000 Subject: [PATCH] If 'WITH_BSDAR' is defined, install as gnu-. --- gnu/usr.bin/binutils/ar/Makefile | 5 +++++ gnu/usr.bin/binutils/ranlib/Makefile | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gnu/usr.bin/binutils/ar/Makefile b/gnu/usr.bin/binutils/ar/Makefile index 59031869a25a..b740bec55946 100644 --- a/gnu/usr.bin/binutils/ar/Makefile +++ b/gnu/usr.bin/binutils/ar/Makefile @@ -4,7 +4,12 @@ .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc +.if defined(WITH_BSDAR) +PROG= gnu-ar +#MAN= gnu-ar.1 +.else PROG= ar +.endif SRCS= ar.c not-ranlib.c CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils diff --git a/gnu/usr.bin/binutils/ranlib/Makefile b/gnu/usr.bin/binutils/ranlib/Makefile index 8edfa01bb13b..abcd3504d4e9 100644 --- a/gnu/usr.bin/binutils/ranlib/Makefile +++ b/gnu/usr.bin/binutils/ranlib/Makefile @@ -4,7 +4,12 @@ .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc +.if defined(WITH_BSDAR) +PROG= gnu-ranlib +#MAN= gnu-ranlib.1 +.else PROG= ranlib +.endif SRCS= ar.c is-ranlib.c CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils