From 594e07bd1b11504215f7e800f4aad9672c6a14a2 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 15 Jun 2015 19:28:07 +0000 Subject: [PATCH] Revert r284417 it is not necessary anymore --- Makefile.inc1 | 2 ++ cddl/lib/Makefile.inc | 2 +- gnu/lib/libgcc/Makefile | 2 +- gnu/lib/libssp/Makefile | 2 +- lib/libalias/libalias/Makefile | 2 +- lib/libalias/modules/Makefile.inc | 2 +- lib/libbegemot/Makefile | 2 +- lib/libc/Makefile | 2 +- lib/libcam/Makefile | 2 +- lib/libcapsicum/Makefile | 2 +- lib/libcasper/Makefile | 2 +- lib/libcrypt/Makefile | 2 +- lib/libcxxrt/Makefile | 2 +- lib/libedit/Makefile | 2 +- lib/libexpat/Makefile | 2 +- lib/libgeom/Makefile | 2 +- lib/libipsec/Makefile | 2 +- lib/libjail/Makefile | 2 +- lib/libkiconv/Makefile | 2 +- lib/libkvm/Makefile | 2 +- lib/libmd/Makefile | 2 +- lib/libmt/Makefile | 2 +- lib/libnv/Makefile | 2 +- lib/libpcap/Makefile | 2 +- lib/libpjdlog/Makefile | 2 +- lib/libsbuf/Makefile | 2 +- lib/libthr/Makefile | 2 +- lib/libufs/Makefile | 2 +- lib/libulog/Makefile | 2 +- lib/libutil/Makefile | 2 +- lib/libxo/Makefile | 2 +- lib/libz/Makefile | 2 +- lib/msun/Makefile | 2 +- lib/ncurses/ncurses/Makefile | 2 +- sbin/geom/class/Makefile.inc | 2 +- secure/lib/libcrypto/Makefile | 2 +- 36 files changed, 37 insertions(+), 35 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 167940449323..edbda984d5d2 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -451,6 +451,8 @@ LIB32WMAKEENV+= MAKEOBJDIRPREFIX=${LIB32_OBJTREE} \ LIB32WMAKEFLAGS+= CC="${XCC} ${LIB32FLAGS}" \ CXX="${XCXX} ${LIB32FLAGS}" \ DESTDIR=${LIB32TMP} \ + SHLIBDIR=/usr/lib32 \ + LIBDIR=/usr/lib32 \ -DCOMPAT_32BIT \ -DLIBRARIES_ONLY \ -DNO_CPU_CFLAGS \ diff --git a/cddl/lib/Makefile.inc b/cddl/lib/Makefile.inc index d8f6c20f1649..8f9af1d17e9d 100644 --- a/cddl/lib/Makefile.inc +++ b/cddl/lib/Makefile.inc @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib SHLIB_MAJOR?= 2 .include "../Makefile.inc" diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 13c15851f702..f0efff476dc2 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -4,7 +4,7 @@ GCCDIR= ${.CURDIR}/../../../contrib/gcc GCCLIB= ${.CURDIR}/../../../contrib/gcclibs SHLIB_NAME= libgcc_s.so.1 -SHLIBDIR= /lib +SHLIBDIR?= /lib .include # diff --git a/gnu/lib/libssp/Makefile b/gnu/lib/libssp/Makefile index 20cec0414678..5a41298360ea 100644 --- a/gnu/lib/libssp/Makefile +++ b/gnu/lib/libssp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib MK_PROFILE= no MK_SSP= no diff --git a/lib/libalias/libalias/Makefile b/lib/libalias/libalias/Makefile index f098e744d848..00b4ed8fe20a 100644 --- a/lib/libalias/libalias/Makefile +++ b/lib/libalias/libalias/Makefile @@ -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 diff --git a/lib/libalias/modules/Makefile.inc b/lib/libalias/modules/Makefile.inc index 18bdd64229ce..23df02da7db7 100644 --- a/lib/libalias/modules/Makefile.inc +++ b/lib/libalias/modules/Makefile.inc @@ -2,7 +2,7 @@ .PATH: ${.CURDIR}/../../../../sys/netinet/libalias -SHLIBDIR= /lib +SHLIBDIR?= /lib LIB?= alias_${NAME} SHLIB_NAME?=libalias_${NAME}.so WARNS?= 1 diff --git a/lib/libbegemot/Makefile b/lib/libbegemot/Makefile index ed22586b6f6a..27baf563cff6 100644 --- a/lib/libbegemot/Makefile +++ b/lib/libbegemot/Makefile @@ -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 diff --git a/lib/libc/Makefile b/lib/libc/Makefile index e8035f076f49..b6d3f9f96a3b 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.2 (Berkeley) 2/3/94 # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile index 2ba4080d119a..c44836947d51 100644 --- a/lib/libcam/Makefile +++ b/lib/libcam/Makefile @@ -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 diff --git a/lib/libcapsicum/Makefile b/lib/libcapsicum/Makefile index 15ee299c5df8..6ee5bb83eada 100644 --- a/lib/libcapsicum/Makefile +++ b/lib/libcapsicum/Makefile @@ -3,7 +3,7 @@ LIB= capsicum SHLIB_MAJOR= 0 -SHLIBDIR= /lib +SHLIBDIR?= /lib SRCS= libcapsicum.c SRCS+= libcapsicum_dns.c diff --git a/lib/libcasper/Makefile b/lib/libcasper/Makefile index 711d233f3e0f..e57accdf94a3 100644 --- a/lib/libcasper/Makefile +++ b/lib/libcasper/Makefile @@ -3,7 +3,7 @@ LIB= casper SHLIB_MAJOR= 0 -SHLIBDIR= /lib +SHLIBDIR?= /lib SRCS= libcasper.c INCS= libcasper.h diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 59991379ac0e..85bf94804fca 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libcxxrt/Makefile b/lib/libcxxrt/Makefile index 812b773671c9..d197361a9a66 100644 --- a/lib/libcxxrt/Makefile +++ b/lib/libcxxrt/Makefile @@ -3,7 +3,7 @@ SRCDIR= ${.CURDIR}/../../contrib/libcxxrt SHLIB_MAJOR= 1 -SHLIBDIR= /lib +SHLIBDIR?= /lib .PATH: ${SRCDIR} diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index d957d3c8e832..8a97ce0f341b 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -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 \ diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile index c3449032a1d3..0d4bef55e2f3 100644 --- a/lib/libexpat/Makefile +++ b/lib/libexpat/Makefile @@ -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 diff --git a/lib/libgeom/Makefile b/lib/libgeom/Makefile index 6785099225d1..20b7a4c7c3b8 100644 --- a/lib/libgeom/Makefile +++ b/lib/libgeom/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ LIB= geom -SHLIBDIR= /lib +SHLIBDIR?= /lib SRCS+= geom_getxml.c SRCS+= geom_stats.c SRCS+= geom_xml2tree.c diff --git a/lib/libipsec/Makefile b/lib/libipsec/Makefile index 1d70bc51b96c..7d3e94a7db5a 100644 --- a/lib/libipsec/Makefile +++ b/lib/libipsec/Makefile @@ -27,7 +27,7 @@ # # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libjail/Makefile b/lib/libjail/Makefile index 3525ed689029..442274ae35dd 100644 --- a/lib/libjail/Makefile +++ b/lib/libjail/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ LIB= jail -SHLIBDIR= /lib +SHLIBDIR?= /lib SHLIB_MAJOR= 1 SRCS= jail.c jail_getid.c INCS= jail.h diff --git a/lib/libkiconv/Makefile b/lib/libkiconv/Makefile index df29a5d6c238..c7b2179c1943 100644 --- a/lib/libkiconv/Makefile +++ b/lib/libkiconv/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile index f9bda385f180..4608254b497e 100644 --- a/lib/libkvm/Makefile +++ b/lib/libkvm/Makefile @@ -16,7 +16,7 @@ CFLAGS+=-DCROSS_LIBKVM LIB= kvm .endif -SHLIBDIR= /lib +SHLIBDIR?= /lib SHLIB_MAJOR= 6 CFLAGS+=-DLIBC_SCCS -I${.CURDIR} diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile index 79c828c94cb8..61bea29c96b1 100644 --- a/lib/libmd/Makefile +++ b/lib/libmd/Makefile @@ -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 \ diff --git a/lib/libmt/Makefile b/lib/libmt/Makefile index 695e95351314..6fe59201a87f 100644 --- a/lib/libmt/Makefile +++ b/lib/libmt/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ LIB= mt -SHLIBDIR= /lib +SHLIBDIR?= /lib SRCS= mtlib.c INCS= mtlib.h diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile index 717c3d681b79..8b2fc7821d7a 100644 --- a/lib/libnv/Makefile +++ b/lib/libnv/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index db7d39fc68d1..c36b3efed2da 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,7 +1,7 @@ # Makefile for libpcap # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libpjdlog/Makefile b/lib/libpjdlog/Makefile index dc2b435bdf23..e44f53b489fa 100644 --- a/lib/libpjdlog/Makefile +++ b/lib/libpjdlog/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libsbuf/Makefile b/lib/libsbuf/Makefile index 9abe78068ee4..98ceeb6b373d 100644 --- a/lib/libsbuf/Makefile +++ b/lib/libsbuf/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ LIB= sbuf -SHLIBDIR= /lib +SHLIBDIR?= /lib SRCS= subr_prf.c subr_sbuf.c SHLIB_MAJOR = 6 diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index 4ad37cc1241c..17176729b2e5 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -8,7 +8,7 @@ # (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the # system call stubs. -SHLIBDIR= /lib +SHLIBDIR?= /lib .include MK_SSP= no diff --git a/lib/libufs/Makefile b/lib/libufs/Makefile index a04afaaf9b72..24efd0ccc5fa 100644 --- a/lib/libufs/Makefile +++ b/lib/libufs/Makefile @@ -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 diff --git a/lib/libulog/Makefile b/lib/libulog/Makefile index 10b831274e4a..fedd114efb9e 100644 --- a/lib/libulog/Makefile +++ b/lib/libulog/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR=/lib +SHLIBDIR?=/lib .include diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index 7b20e30520c0..35d146af720f 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .include diff --git a/lib/libxo/Makefile b/lib/libxo/Makefile index 04558a3d6e9c..62fface44dfa 100644 --- a/lib/libxo/Makefile +++ b/lib/libxo/Makefile @@ -7,7 +7,7 @@ LIBXO= ${.CURDIR:H:H}/contrib/libxo LIB= xo SHLIB_MAJOR=0 -SHLIBDIR= /lib +SHLIBDIR?= /lib SRCS= libxo.c diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 3f13988becec..1f9bb72bc527 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -3,7 +3,7 @@ # LIB= z -SHLIBDIR= /lib +SHLIBDIR?= /lib SHLIB_MAJOR= 6 MAN= zlib.3 zopen.3 diff --git a/lib/msun/Makefile b/lib/msun/Makefile index 389ed74efa22..094fcba15682 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -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= diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index f02cfc70ebd7..31c68cdb782e 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib .if !defined(ENABLE_WIDEC) # Override any MAN= setting below.. diff --git a/sbin/geom/class/Makefile.inc b/sbin/geom/class/Makefile.inc index 0082f9203280..06b733f3c79c 100644 --- a/sbin/geom/class/Makefile.inc +++ b/sbin/geom/class/Makefile.inc @@ -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 diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index a1671731bd87..dbe2157ec0b4 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SHLIBDIR= /lib +SHLIBDIR?= /lib SUBDIR= engines .include