Re-introduce the new BSDLed 'ar' to the build.
It is installed as "bsdar" unless WANT_BSDAR is defined. Discussed with: kaiw
This commit is contained in:
parent
3c7b2ed7f9
commit
a856b6c56c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176453
@ -11,6 +11,7 @@
|
||||
|
||||
SUBDIR= alias \
|
||||
apply \
|
||||
ar \
|
||||
asa \
|
||||
at \
|
||||
${_atm} \
|
||||
|
@ -1,12 +1,26 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if defined(WITH_BSDAR)
|
||||
PROG= ar
|
||||
VERSION= 1.0.2
|
||||
.else
|
||||
PROG= bsdar
|
||||
.endif
|
||||
SRCS= ar.c read.c util.c write.c
|
||||
|
||||
WARNS?= 5
|
||||
|
||||
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBELF}
|
||||
LDADD= -larchive -lbz2 -lz -lelf
|
||||
CFLAGS+= -DBSDAR_VERSION=\"${VERSION}\"
|
||||
|
||||
.if defined(WITH_BSDAR)
|
||||
LINKS= ${BINDIR}/ar ${BINDIR}/ranlib
|
||||
MLINKS= ar ranlib
|
||||
.else
|
||||
LINKS= ${BINDIR}/bsdar ${BINDIR}/bsdranlib
|
||||
MLINKS= bsdar.1 bsdranlib.1
|
||||
|
||||
bsdar.1: ar.1
|
||||
ln -sf ${.ALLSRC} ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -26,6 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#define BSDAR_VERSION "1.0.2"
|
||||
|
||||
/*
|
||||
* ar(1) options.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user