Enforce overwritting SHLIBDIR

Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading
bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.

This makes /lib being populated again.

Reported by:	many
This commit is contained in:
bapt 2015-06-15 15:34:20 +00:00
parent 1aac2948e9
commit 9fb85ece8b
35 changed files with 35 additions and 35 deletions

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR?= 2
.include "../Makefile.inc"

View File

@ -4,7 +4,7 @@ GCCDIR= ${.CURDIR}/../../../contrib/gcc
GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
SHLIB_NAME= libgcc_s.so.1
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>
#

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
MK_PROFILE= no
MK_SSP= no

View File

@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../../sys/netinet/libalias
LIB= alias
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 7
MAN= libalias.3
SRCS= alias.c alias_db.c alias_proxy.c alias_util.c alias_mod.c

View File

@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../../../sys/netinet/libalias
SHLIBDIR?= /lib
SHLIBDIR= /lib
LIB?= alias_${NAME}
SHLIB_NAME?=libalias_${NAME}.so
WARNS?= 1

View File

@ -6,7 +6,7 @@ LIBBEGEMOT_DIR=${.CURDIR}/../../contrib/libbegemot
LIB= begemot
SHLIB_MAJOR= 4
SHLIBDIR?= /lib
SHLIBDIR= /lib
CFLAGS+= -DUSE_SELECT -DQUADFMT='"ll"'
SRCS= rpoll.c

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 2/3/94
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
LIB= cam
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \
ata_all.c smp_all.c
INCS= camlib.h

View File

@ -3,7 +3,7 @@
LIB= capsicum
SHLIB_MAJOR= 0
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= libcapsicum.c
SRCS+= libcapsicum_dns.c

View File

@ -3,7 +3,7 @@
LIB= casper
SHLIB_MAJOR= 0
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= libcasper.c
INCS= libcasper.h

View File

@ -2,7 +2,7 @@
# $FreeBSD$
#
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -3,7 +3,7 @@
SRCDIR= ${.CURDIR}/../../contrib/libcxxrt
SHLIB_MAJOR= 1
SHLIBDIR?= /lib
SHLIBDIR= /lib
.PATH: ${SRCDIR}

View File

@ -4,7 +4,7 @@
LIB= edit
SHLIB_MAJOR= 7
SHLIBDIR?= /lib
SHLIBDIR= /lib
OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
hist.c keymacro.c map.c chartype.c \

View File

@ -3,7 +3,7 @@
EXPAT= ${.CURDIR}/../../contrib/expat
LIB= bsdxml
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 4
SRCS= xmlparse.c xmlrole.c xmltok.c
INCS= bsdxml.h bsdxml_external.h

View File

@ -1,7 +1,7 @@
# $FreeBSD$
LIB= geom
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS+= geom_getxml.c
SRCS+= geom_stats.c
SRCS+= geom_xml2tree.c

View File

@ -27,7 +27,7 @@
#
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
LIB= jail
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 1
SRCS= jail.c jail_getid.c
INCS= jail.h

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -16,7 +16,7 @@ CFLAGS+=-DCROSS_LIBKVM
LIB= kvm
.endif
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 6
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}

View File

@ -2,7 +2,7 @@
LIB= md
SHLIB_MAJOR= 6
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= md4c.c md5c.c md4hl.c md5hl.c \
rmd160c.c rmd160hl.c \
sha0c.c sha0hl.c sha1c.c sha1hl.c \

View File

@ -1,7 +1,7 @@
# $FreeBSD$
LIB= mt
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= mtlib.c
INCS= mtlib.h

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -1,7 +1,7 @@
# Makefile for libpcap
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -2,7 +2,7 @@
# $FreeBSD$
#
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <bsd.own.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
LIB= sbuf
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= subr_prf.c subr_sbuf.c
SHLIB_MAJOR = 6

View File

@ -8,7 +8,7 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>
MK_SSP= no

View File

@ -1,7 +1,7 @@
# $FreeBSD$
LIB= ufs
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 6
SRCS= block.c cgroup.c inode.c sblock.c type.c ffs_subr.c ffs_tables.c

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?=/lib
SHLIBDIR=/lib
.include <src.opts.mk>

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.include <src.opts.mk>

View File

@ -7,7 +7,7 @@ LIBXO= ${.CURDIR:H:H}/contrib/libxo
LIB= xo
SHLIB_MAJOR=0
SHLIBDIR?= /lib
SHLIBDIR= /lib
SRCS= libxo.c

View File

@ -3,7 +3,7 @@
#
LIB= z
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 6
MAN= zlib.3 zopen.3

View File

@ -42,7 +42,7 @@ CFLAGS+= -I${.CURDIR}/${ARCH_SUBDIR}
.PATH: ${.CURDIR}/man
LIB= m
SHLIBDIR?= /lib
SHLIBDIR= /lib
SHLIB_MAJOR= 5
WARNS?= 1
IGNORE_PRAGMA=

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
.if !defined(ENABLE_WIDEC)
# Override any MAN= setting below..

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?=${GEOM_CLASS_DIR}
SHLIBDIR=${GEOM_CLASS_DIR}
SHLIB_NAME?=geom_${GEOM_CLASS}.so
LINKS= ${BINDIR}/geom ${BINDIR}/g${GEOM_CLASS}
MAN= g${GEOM_CLASS}.8

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /lib
SHLIBDIR= /lib
SUBDIR= engines
.include <bsd.own.mk>