The src.opts.mk sets default value for the SHLIBDIR, so our set was not

respected.

Please notice that libcasper is already in ObsoleteFiles so we don't add it
again.

Reported by:	Herbert J. Skuhra <herbert@mailbox.org>
Reviewed by:	bdrewery@
Differential Revision:	https://reviews.freebsd.org/D12918
This commit is contained in:
Mariusz Zaborski 2017-11-04 15:50:05 +00:00
parent 95844abe53
commit 0dfac7ee08
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325399
3 changed files with 7 additions and 4 deletions

View File

@ -38,6 +38,8 @@
# xargs -n1 | sort | uniq -d;
# done
# 20171104: libcap_random should be in /lib not in /usr/lib
OLD_LIBS+=usr/lib/libcap_random.so.0
# 20171104: Casper can work only as shared library
OLD_FILES+=usr/lib/libcasper.a
OLD_FILES+=usr/lib/libcasper_p.a

View File

@ -1,14 +1,14 @@
# $FreeBSD$
SHLIBDIR?= /lib
.include <src.opts.mk>
PACKAGE=${LIB}
SHLIB_MAJOR= 0
SHLIBDIR?= /lib
.if ${MK_CASPER} != "no"
SHLIB= casper
SHLIB_MAJOR= 0
SRCS= libcasper.c
SRCS+= libcasper_impl.c

View File

@ -1,11 +1,12 @@
# $FreeBSD$
SHLIBDIR?= /lib/casper
.include <src.opts.mk>
PACKAGE=libcasper
SHLIB_MAJOR= 0
SHLIBDIR?= /lib/casper
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"