diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 05f796197eb7..c1b1e363399a 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE= clibs GCCDIR= ${.CURDIR}/../../../contrib/gcc GCCLIB= ${.CURDIR}/../../../contrib/gcclibs COMPILERRTDIR= ${.CURDIR}/../../../contrib/compiler-rt diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index 33b1e44ff328..7794928bc328 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -2,7 +2,7 @@ .include -PACKAGE= lib${LIB} +PACKAGE= clibs _LIBCXXRTDIR= ${.CURDIR}/../../contrib/libcxxrt HDRDIR= ${.CURDIR}/../../contrib/libc++/include SRCDIR= ${.CURDIR}/../../contrib/libc++/src diff --git a/lib/libc/Makefile b/lib/libc/Makefile index b07dfeeca200..17b9720f3605 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.2 (Berkeley) 2/3/94 # $FreeBSD$ -PACKAGE= lib${LIB} +PACKAGE= clibs SHLIBDIR?= /lib .include diff --git a/lib/libcxxrt/Makefile b/lib/libcxxrt/Makefile index 50305aa9b686..8f3d9c54c3b7 100644 --- a/lib/libcxxrt/Makefile +++ b/lib/libcxxrt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -PACKAGE=lib${LIB} +PACKAGE= clibs SRCDIR= ${.CURDIR}/../../contrib/libcxxrt SHLIB_MAJOR= 1 diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index f2f313d29fd0..14c9cbbcc175 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -2,7 +2,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 # $FreeBSD$ -PACKAGE=lib${LIB} +PACKAGE=clibs LIB= edit SHLIB_MAJOR= 7 SHLIBDIR?= /lib diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index 0fac742b98b4..7a080e0f2580 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. -PACKAGE=lib${LIB} +PACKAGE= clibs SHLIBDIR?= /lib .include diff --git a/lib/msun/Makefile b/lib/msun/Makefile index cebfbd7ba556..820855c86a75 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -12,7 +12,7 @@ # # -PACKAGE=lib${LIB} +PACKAGE= clibs .if ${MACHINE_CPUARCH} == "i386" ARCH_SUBDIR= i387 .else diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 94fb03a9b278..cf9053ca94c8 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ +PACKAGE= clibs SHLIBDIR?= /lib .if !defined(ENABLE_WIDEC) diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 66ff5e91739b..e2ebcce5f857 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -5,10 +5,13 @@ # make DEBUG_FLAGS=-g DEBUG=-DDEBUG MK_TESTS=no all .include -PACKAGE= librtld_db +PACKAGE= clibs MK_SSP= no PROG?= ld-elf.so.1 +.if (${PROG:M*ld-elf32*} != "") +TAGS+= lib32 +.endif SRCS= rtld_start.S \ reloc.c rtld.c rtld_lock.c rtld_printf.c map_object.c \ malloc.c xmalloc.c debug.c libmap.c diff --git a/release/packages/librtld_db.ucl b/release/packages/clibs.ucl similarity index 81% rename from release/packages/librtld_db.ucl rename to release/packages/clibs.ucl index 7b59dc22d1ff..38844f0f0898 100644 --- a/release/packages/librtld_db.ucl +++ b/release/packages/clibs.ucl @@ -15,8 +15,3 @@ licenses = [ BSD2CLAUSE ] desc = <