aboutsummaryrefslogtreecommitdiff
path: root/lib/libkiconv/Makefile
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-06-12 20:24:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-06-12 20:24:57 +0000
commit0bd7a6f87835b9bfd84bbdf567a31978b048c300 (patch)
tree4ba5b364675b2b9675cd440378f3eeaa67de91e7 /lib/libkiconv/Makefile
parent56d20d01b5e29c8025af909f6f66b67c4e2db452 (diff)
downloadsrc-0bd7a6f87835b9bfd84bbdf567a31978b048c300.tar.gz
src-0bd7a6f87835b9bfd84bbdf567a31978b048c300.zip
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
Notes
Notes: svn path=/head/; revision=236972
Diffstat (limited to 'lib/libkiconv/Makefile')
-rw-r--r--lib/libkiconv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkiconv/Makefile b/lib/libkiconv/Makefile
index ba884571b443..bda505eeaff1 100644
--- a/lib/libkiconv/Makefile
+++ b/lib/libkiconv/Makefile
@@ -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