Make sure libkiconv.so.4 is installed into /lib, not into /usr/lib,

which was inadvertently caused by r236185: if SHLIBDIR is set using the
?= operator, it must be done *before* bsd.own.mk is included, otherwise
the default value is still used.

Note, bsd.lib.mk will take care of removing the copy in /usr/lib upon
installation, so no addition to ObsoleteFiles.inc is needed.

X-MFC-With:	r236185
This commit is contained in:
Dimitry Andric 2012-06-12 20:24:57 +00:00
parent 56d20d01b5
commit 0bd7a6f878
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236972

View file

@ -1,9 +1,10 @@
# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
LIB= kiconv
SHLIBDIR?= /lib
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
SRCS+= quirks.c