summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/lib80211/Makefile1
-rw-r--r--lib/libarchive/Makefile1
-rw-r--r--lib/libauditd/Makefile1
-rw-r--r--lib/libbegemot/Makefile1
-rw-r--r--lib/libblocksruntime/Makefile1
-rw-r--r--lib/libbluetooth/Makefile1
-rw-r--r--lib/libbsdstat/Makefile1
-rw-r--r--lib/libbsm/Makefile1
-rw-r--r--lib/libbz2/Makefile1
-rw-r--r--lib/libc++/Makefile1
-rw-r--r--lib/libc/Makefile1
-rw-r--r--lib/libcalendar/Makefile1
-rw-r--r--lib/libcam/Makefile1
-rw-r--r--lib/libcapsicum/Makefile1
-rw-r--r--lib/libcasper/Makefile1
-rw-r--r--lib/libcom_err/Makefile1
-rw-r--r--lib/libcompat/Makefile1
-rw-r--r--lib/libcompiler_rt/Makefile1
-rw-r--r--lib/libcrypt/Makefile1
-rw-r--r--lib/libcuse/Makefile1
-rw-r--r--lib/libcxxrt/Makefile1
-rw-r--r--lib/libdevctl/Makefile1
-rw-r--r--lib/libdevinfo/Makefile1
-rw-r--r--lib/libdevstat/Makefile1
-rw-r--r--lib/libdpv/Makefile1
-rw-r--r--lib/libdwarf/Makefile1
-rw-r--r--lib/libedit/Makefile1
-rw-r--r--lib/libefi/Makefile1
-rw-r--r--lib/libelf/Makefile1
-rw-r--r--lib/libelftc/Makefile1
-rw-r--r--lib/libevent/Makefile1
-rw-r--r--lib/libexecinfo/Makefile1
-rw-r--r--lib/libexpat/Makefile1
-rw-r--r--lib/libfetch/Makefile1
-rw-r--r--lib/libfigpar/Makefile1
-rw-r--r--lib/libgeom/Makefile1
-rw-r--r--lib/libgpio/Makefile1
-rw-r--r--lib/libgssapi/Makefile1
-rw-r--r--lib/libipsec/Makefile1
-rw-r--r--lib/libjail/Makefile1
-rw-r--r--lib/libkiconv/Makefile1
-rw-r--r--lib/libkvm/Makefile1
-rw-r--r--lib/libldns/Makefile1
-rw-r--r--lib/liblzma/Makefile1
-rw-r--r--lib/libmagic/Makefile1
-rw-r--r--lib/libmd/Makefile1
-rw-r--r--lib/libmemstat/Makefile1
-rw-r--r--lib/libmilter/Makefile1
-rw-r--r--lib/libmp/Makefile1
-rw-r--r--lib/libmt/Makefile1
-rw-r--r--lib/libnandfs/Makefile1
-rw-r--r--lib/libnetbsd/Makefile1
-rw-r--r--lib/libnetgraph/Makefile1
-rw-r--r--lib/libngatm/Makefile1
-rw-r--r--lib/libnv/Makefile1
-rw-r--r--lib/libopenbsd/Makefile1
-rw-r--r--lib/libopie/Makefile1
-rw-r--r--lib/libpcap/Makefile1
-rw-r--r--lib/libpjdlog/Makefile1
-rw-r--r--lib/libpmc/Makefile1
-rw-r--r--lib/libproc/Makefile1
-rw-r--r--lib/libprocstat/Makefile1
-rw-r--r--lib/libradius/Makefile1
-rw-r--r--lib/librpcsec_gss/Makefile1
-rw-r--r--lib/librpcsvc/Makefile1
-rw-r--r--lib/librt/Makefile1
-rw-r--r--lib/librtld_db/Makefile1
-rw-r--r--lib/libsbuf/Makefile1
-rw-r--r--lib/libsdp/Makefile1
-rw-r--r--lib/libsm/Makefile1
-rw-r--r--lib/libsmb/Makefile1
-rw-r--r--lib/libsmdb/Makefile1
-rw-r--r--lib/libsmutil/Makefile1
-rw-r--r--lib/libsqlite3/Makefile1
-rw-r--r--lib/libstand/Makefile1
-rw-r--r--lib/libstdbuf/Makefile1
-rw-r--r--lib/libstdthreads/Makefile1
-rw-r--r--lib/libsysdecode/Makefile1
-rw-r--r--lib/libtacplus/Makefile1
-rw-r--r--lib/libtelnet/Makefile1
-rw-r--r--lib/libthr/Makefile1
-rw-r--r--lib/libthread_db/Makefile1
-rw-r--r--lib/libucl/Makefile1
-rw-r--r--lib/libufs/Makefile1
-rw-r--r--lib/libugidfw/Makefile1
-rw-r--r--lib/libulog/Makefile1
-rw-r--r--lib/libunbound/Makefile1
-rw-r--r--lib/libusb/Makefile1
-rw-r--r--lib/libusbhid/Makefile1
-rw-r--r--lib/libutil/Makefile1
-rw-r--r--lib/libvgl/Makefile1
-rw-r--r--lib/libvmmapi/Makefile1
-rw-r--r--lib/libwrap/Makefile1
-rw-r--r--lib/libxo/Makefile1
-rw-r--r--lib/liby/Makefile1
-rw-r--r--lib/libypclnt/Makefile1
-rw-r--r--lib/libz/Makefile1
-rw-r--r--lib/msun/Makefile1
98 files changed, 98 insertions, 0 deletions
diff --git a/lib/lib80211/Makefile b/lib/lib80211/Makefile
index e00017e..fe103ce 100644
--- a/lib/lib80211/Makefile
+++ b/lib/lib80211/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= 80211
SHLIBDIR?= /lib
SHLIB_MAJOR= 1
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 93749b9..6f0ccd1 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
.include <src.opts.mk>
+PACKAGE=lib${LIB}
_LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
LIB= archive
diff --git a/lib/libauditd/Makefile b/lib/libauditd/Makefile
index 10039e9..f8ed80a 100644
--- a/lib/libauditd/Makefile
+++ b/lib/libauditd/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
#
+PACKAGE=lib${LIB}
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
_LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
diff --git a/lib/libbegemot/Makefile b/lib/libbegemot/Makefile
index 27baf56..d278385 100644
--- a/lib/libbegemot/Makefile
+++ b/lib/libbegemot/Makefile
@@ -2,6 +2,7 @@
LIBBEGEMOT_DIR=${.CURDIR}/../../contrib/libbegemot
+PACKAGE=lib${LIB}
.PATH: ${LIBBEGEMOT_DIR}
LIB= begemot
diff --git a/lib/libblocksruntime/Makefile b/lib/libblocksruntime/Makefile
index f9539331..5933fb5 100644
--- a/lib/libblocksruntime/Makefile
+++ b/lib/libblocksruntime/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB:tl}
LIB= BlocksRuntime
SHLIB_MAJOR=0
CFLAGS+=-I${.CURDIR}
diff --git a/lib/libbluetooth/Makefile b/lib/libbluetooth/Makefile
index 7e21892..a8573ec 100644
--- a/lib/libbluetooth/Makefile
+++ b/lib/libbluetooth/Makefile
@@ -1,6 +1,7 @@
# $Id: Makefile,v 1.5 2003/07/22 18:38:04 max Exp $
# $FreeBSD$
+PACKAGE= lib${LIB}
LIB= bluetooth
MAN= bluetooth.3
diff --git a/lib/libbsdstat/Makefile b/lib/libbsdstat/Makefile
index aef0ec2..dea45f5 100644
--- a/lib/libbsdstat/Makefile
+++ b/lib/libbsdstat/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= lib${LIB}
LIB= bsdstat
SHLIB_MAJOR= 1
PRIVATELIB=
diff --git a/lib/libbsm/Makefile b/lib/libbsm/Makefile
index 037def7..4416227 100644
--- a/lib/libbsm/Makefile
+++ b/lib/libbsm/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
#
+PACKAGE= lib${LIB}
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile
index b505927..93c724e 100644
--- a/lib/libbz2/Makefile
+++ b/lib/libbz2/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= lib${LIB}
BZ2DIR= ${.CURDIR}/../../contrib/bzip2
.PATH: ${BZ2DIR}
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile
index 94e91b9..33b1e44 100644
--- a/lib/libc++/Makefile
+++ b/lib/libc++/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE= lib${LIB}
_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 707fc1a..b07dfee 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 2/3/94
# $FreeBSD$
+PACKAGE= lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/libcalendar/Makefile b/lib/libcalendar/Makefile
index b0ae002..d217a10 100644
--- a/lib/libcalendar/Makefile
+++ b/lib/libcalendar/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= lib${LIB}
LIB= calendar
SRCS= calendar.c easter.c
diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile
index c448369..a4cae7a 100644
--- a/lib/libcam/Makefile
+++ b/lib/libcam/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= lib${LIB}
LIB= cam
SHLIBDIR?= /lib
SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \
diff --git a/lib/libcapsicum/Makefile b/lib/libcapsicum/Makefile
index 6ee5bb8..bf34f6f 100644
--- a/lib/libcapsicum/Makefile
+++ b/lib/libcapsicum/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= lib${LIB}
LIB= capsicum
SHLIB_MAJOR= 0
diff --git a/lib/libcasper/Makefile b/lib/libcasper/Makefile
index e57accd..1058878 100644
--- a/lib/libcasper/Makefile
+++ b/lib/libcasper/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE= lib${LIB}
LIB= casper
SHLIB_MAJOR= 0
diff --git a/lib/libcom_err/Makefile b/lib/libcom_err/Makefile
index 72260fe..b6f389f 100644
--- a/lib/libcom_err/Makefile
+++ b/lib/libcom_err/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= com_err
SRCS= com_err.c error.c
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h
diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile
index fca86c7..0bd47df 100644
--- a/lib/libcompat/Makefile
+++ b/lib/libcompat/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
NO_PIC=
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index 86daee4..7a29a59 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= compiler_rt
NO_PIC=
WARNS?= 2
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index d5d0347..c1f8542 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
#
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/libcuse/Makefile b/lib/libcuse/Makefile
index a232fa2..607d36b 100644
--- a/lib/libcuse/Makefile
+++ b/lib/libcuse/Makefile
@@ -24,6 +24,7 @@
# SUCH DAMAGE.
#
+PACKAGE=lib${LIB}
LIB= cuse
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
diff --git a/lib/libcxxrt/Makefile b/lib/libcxxrt/Makefile
index d197361..50305aa 100644
--- a/lib/libcxxrt/Makefile
+++ b/lib/libcxxrt/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SRCDIR= ${.CURDIR}/../../contrib/libcxxrt
SHLIB_MAJOR= 1
diff --git a/lib/libdevctl/Makefile b/lib/libdevctl/Makefile
index 74687ec..ed56b25 100644
--- a/lib/libdevctl/Makefile
+++ b/lib/libdevctl/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= devctl
SRCS= devctl.c
INCS= devctl.h
diff --git a/lib/libdevinfo/Makefile b/lib/libdevinfo/Makefile
index 9e755d7..6c0927e 100644
--- a/lib/libdevinfo/Makefile
+++ b/lib/libdevinfo/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= devinfo
SRCS= devinfo.c
INCS= devinfo.h
diff --git a/lib/libdevstat/Makefile b/lib/libdevstat/Makefile
index dcda3c2..df5d44e 100644
--- a/lib/libdevstat/Makefile
+++ b/lib/libdevstat/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= devstat
SHLIBDIR?= /lib
# Bump DEVSTAT_USER_API_VER in devstat.h every time this is incremented.
diff --git a/lib/libdpv/Makefile b/lib/libdpv/Makefile
index f2dc481..952dfd6 100644
--- a/lib/libdpv/Makefile
+++ b/lib/libdpv/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= dpv
SHLIB_MAJOR= 1
INCS= dpv.h
diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile
index bd98d8f..1e2506d 100644
--- a/lib/libdwarf/Makefile
+++ b/lib/libdwarf/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
.include <bsd.own.mk>
+PACKAGE=lib${LIB}
TOP= ${.CURDIR}/../../contrib/elftoolchain
SRCDIR= ${TOP}/libdwarf
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 8a97ce0..f2f313d 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -2,6 +2,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= edit
SHLIB_MAJOR= 7
SHLIBDIR?= /lib
diff --git a/lib/libefi/Makefile b/lib/libefi/Makefile
index 16aa3e7..d9862f0 100644
--- a/lib/libefi/Makefile
+++ b/lib/libefi/Makefile
@@ -2,6 +2,7 @@
.include <bsd.own.mk>
+PACKAGE=lib${LIB}
LIB= efi
SHLIB_MAJOR= 1
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index f622921..70d9e9b 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <bsd.own.mk>
diff --git a/lib/libelftc/Makefile b/lib/libelftc/Makefile
index ed5c02a..e2269b4 100644
--- a/lib/libelftc/Makefile
+++ b/lib/libelftc/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
.include <bsd.own.mk>
+PACKAGE=lib${LIB}
INTERNALLIB=
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
diff --git a/lib/libevent/Makefile b/lib/libevent/Makefile
index 1d20bcd..d8cc572 100644
--- a/lib/libevent/Makefile
+++ b/lib/libevent/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
.PATH: ${.CURDIR}/../../contrib/pf/libevent
.include <src.opts.mk>
diff --git a/lib/libexecinfo/Makefile b/lib/libexecinfo/Makefile
index 5f9aac5..c444f7f 100644
--- a/lib/libexecinfo/Makefile
+++ b/lib/libexecinfo/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIBEXECINFO= ${.CURDIR}/../../contrib/libexecinfo
LIB= execinfo
diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile
index 0d4bef5..d0de3e0 100644
--- a/lib/libexpat/Makefile
+++ b/lib/libexpat/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
EXPAT= ${.CURDIR}/../../contrib/expat
LIB= bsdxml
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index 4f56552..abd5f8d 100644
--- a/lib/libfetch/Makefile
+++ b/lib/libfetch/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= fetch
CFLAGS+= -I.
SRCS= fetch.c common.c ftp.c http.c file.c \
diff --git a/lib/libfigpar/Makefile b/lib/libfigpar/Makefile
index 6f01966..c220b88 100644
--- a/lib/libfigpar/Makefile
+++ b/lib/libfigpar/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= figpar
SHLIB_MAJOR= 0
INCS= figpar.h string_m.h
diff --git a/lib/libgeom/Makefile b/lib/libgeom/Makefile
index 20b7a4c..ea1f6c8 100644
--- a/lib/libgeom/Makefile
+++ b/lib/libgeom/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= geom
SHLIBDIR?= /lib
SRCS+= geom_getxml.c
diff --git a/lib/libgpio/Makefile b/lib/libgpio/Makefile
index 4393c79..9cc6387 100644
--- a/lib/libgpio/Makefile
+++ b/lib/libgpio/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= gpio
SHLIB_MAJOR= 0
diff --git a/lib/libgssapi/Makefile b/lib/libgssapi/Makefile
index 3f016b4..a486101 100644
--- a/lib/libgssapi/Makefile
+++ b/lib/libgssapi/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= gssapi
SHLIB_MAJOR= 10
VERSION_DEF= ${.CURDIR}/../libc/Versions.def
diff --git a/lib/libipsec/Makefile b/lib/libipsec/Makefile
index 7d3e94a..460a5d7 100644
--- a/lib/libipsec/Makefile
+++ b/lib/libipsec/Makefile
@@ -27,6 +27,7 @@
#
# $FreeBSD$
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/libjail/Makefile b/lib/libjail/Makefile
index 7932e9f..74eb8e1 100644
--- a/lib/libjail/Makefile
+++ b/lib/libjail/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= jail
SHLIBDIR?= /lib
SHLIB_MAJOR= 1
diff --git a/lib/libkiconv/Makefile b/lib/libkiconv/Makefile
index c7b2179..5ada7db 100644
--- a/lib/libkiconv/Makefile
+++ b/lib/libkiconv/Makefile
@@ -4,6 +4,7 @@ SHLIBDIR?= /lib
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= kiconv
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
SRCS+= quirks.c
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile
index 33f8e5b..0fdeec9 100644
--- a/lib/libkvm/Makefile
+++ b/lib/libkvm/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= kvm
SHLIBDIR?= /lib
diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile
index 9a436cd..14dc9f9 100644
--- a/lib/libldns/Makefile
+++ b/lib/libldns/Makefile
@@ -3,6 +3,7 @@
# Vendor sources and generated files
LDNSDIR = ${.CURDIR}/../../contrib/ldns
+PACKAGE=lib${LIB}
.PATH: ${LDNSDIR} ${LDNSDIR}/compat
LIB= ldns
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile
index 8a6c23d..62c2994 100644
--- a/lib/liblzma/Makefile
+++ b/lib/liblzma/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= lzma
LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index 2add1d3..d77de6c4 100644
--- a/lib/libmagic/Makefile
+++ b/lib/libmagic/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
# Copyright (c) David E. O'Brien, 2000-2004, 2006, 2009
+PACKAGE=lib${LIB}
CONTRDIR= ${.CURDIR}/../../contrib/file
.PATH: ${CONTRDIR}/src
.PATH: ${CONTRDIR}/doc
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index 43b8a5a..bde4fb5 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= md
SHLIB_MAJOR= 6
SHLIBDIR?= /lib
diff --git a/lib/libmemstat/Makefile b/lib/libmemstat/Makefile
index 597dc6d..8554eb0 100644
--- a/lib/libmemstat/Makefile
+++ b/lib/libmemstat/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
WARNS?= 3
LIB= memstat
SHLIB_MAJOR= 3
diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile
index 81172ec..2cb2694 100644
--- a/lib/libmilter/Makefile
+++ b/lib/libmilter/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
diff --git a/lib/libmp/Makefile b/lib/libmp/Makefile
index 6a73658..8d8c527 100644
--- a/lib/libmp/Makefile
+++ b/lib/libmp/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= mp
SHLIB_MAJOR= 7
LIBADD= crypto
diff --git a/lib/libmt/Makefile b/lib/libmt/Makefile
index 6fe5920..c67130e 100644
--- a/lib/libmt/Makefile
+++ b/lib/libmt/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= mt
SHLIBDIR?= /lib
SRCS= mtlib.c
diff --git a/lib/libnandfs/Makefile b/lib/libnandfs/Makefile
index d87573e..e900c3c 100644
--- a/lib/libnandfs/Makefile
+++ b/lib/libnandfs/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= nandfs
SRCS+= nandfs.c
INCS= libnandfs.h
diff --git a/lib/libnetbsd/Makefile b/lib/libnetbsd/Makefile
index 09c6985..92ad745 100644
--- a/lib/libnetbsd/Makefile
+++ b/lib/libnetbsd/Makefile
@@ -2,6 +2,7 @@
.include <bsd.own.mk>
+PACKAGE=lib${LIB}
LIB= netbsd
CFLAGS+= -I${.CURDIR}
diff --git a/lib/libnetgraph/Makefile b/lib/libnetgraph/Makefile
index d0c444e..d3c7c3f 100644
--- a/lib/libnetgraph/Makefile
+++ b/lib/libnetgraph/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
+PACKAGE=lib${LIB}
LIB= netgraph
WARNS?= 3
MAN= netgraph.3
diff --git a/lib/libngatm/Makefile b/lib/libngatm/Makefile
index 85294b0..71f21d5 100644
--- a/lib/libngatm/Makefile
+++ b/lib/libngatm/Makefile
@@ -2,6 +2,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
#
+PACKAGE=lib${LIB}
LIB= ngatm
SHLIB_MAJOR= 4
MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile
index 38ec009..1b750d2 100644
--- a/lib/libnv/Makefile
+++ b/lib/libnv/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/libopenbsd/Makefile b/lib/libopenbsd/Makefile
index 3eb6b74..afb41b3 100644
--- a/lib/libopenbsd/Makefile
+++ b/lib/libopenbsd/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= openbsd
SRCS= getdtablecount.c \
imsg-buffer.c \
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index e66e67a..367bbc6 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -2,6 +2,7 @@
#
# $FreeBSD$
#
+PACKAGE=lib${LIB}
OPIE_DIST?= ${.CURDIR}/../../contrib/opie
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
SHLIB_MAJOR= 8
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index cdc0228..e7512e6 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -5,6 +5,7 @@ SHLIBDIR?= /lib
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= pcap
SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
pcap-netmap.c \
diff --git a/lib/libpjdlog/Makefile b/lib/libpjdlog/Makefile
index e44f53b..b43d0ef 100644
--- a/lib/libpjdlog/Makefile
+++ b/lib/libpjdlog/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
#
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <bsd.own.mk>
diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile
index 4227794..0e55556 100644
--- a/lib/libpmc/Makefile
+++ b/lib/libpmc/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= pmc
SRCS= libpmc.c pmclog.c
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
index 8c4f484..0372377 100644
--- a/lib/libproc/Makefile
+++ b/lib/libproc/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= proc
SRCS= proc_bkpt.c \
diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile
index fc71dbc..240718d 100644
--- a/lib/libprocstat/Makefile
+++ b/lib/libprocstat/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= procstat
SRCS= cd9660.c \
diff --git a/lib/libradius/Makefile b/lib/libradius/Makefile
index 42f5def..3ce1435 100644
--- a/lib/libradius/Makefile
+++ b/lib/libradius/Makefile
@@ -26,6 +26,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= radius
SRCS= radlib.c
INCS= radlib.h radlib_vs.h
diff --git a/lib/librpcsec_gss/Makefile b/lib/librpcsec_gss/Makefile
index c3e76844..e59f1e5 100644
--- a/lib/librpcsec_gss/Makefile
+++ b/lib/librpcsec_gss/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= rpcsec_gss
SHLIB_MAJOR= 1
SRCS+= rpcsec_gss.c rpcsec_gss_prot.c rpcsec_gss_conf.c rpcsec_gss_misc.c \
diff --git a/lib/librpcsvc/Makefile b/lib/librpcsvc/Makefile
index ba972ac..1deda17 100644
--- a/lib/librpcsvc/Makefile
+++ b/lib/librpcsvc/Makefile
@@ -5,6 +5,7 @@
.PATH: ${.CURDIR}/../../include/rpcsvc
+PACKAGE=lib${LIB}
LIB= rpcsvc
RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
diff --git a/lib/librt/Makefile b/lib/librt/Makefile
index 3c16976..560f2af 100644
--- a/lib/librt/Makefile
+++ b/lib/librt/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB=rt
SHLIB_MAJOR= 1
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
diff --git a/lib/librtld_db/Makefile b/lib/librtld_db/Makefile
index 9f9b603..eec7970 100644
--- a/lib/librtld_db/Makefile
+++ b/lib/librtld_db/Makefile
@@ -2,6 +2,7 @@
.include <bsd.own.mk>
+PACKAGE=lib${LIB}
LIB= rtld_db
SHLIB_MAJOR= 2
MAN= librtld_db.3
diff --git a/lib/libsbuf/Makefile b/lib/libsbuf/Makefile
index 98ceeb6..ebf4a8d 100644
--- a/lib/libsbuf/Makefile
+++ b/lib/libsbuf/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= sbuf
SHLIBDIR?= /lib
SRCS= subr_prf.c subr_sbuf.c
diff --git a/lib/libsdp/Makefile b/lib/libsdp/Makefile
index fcedb50..0037252 100644
--- a/lib/libsdp/Makefile
+++ b/lib/libsdp/Makefile
@@ -1,6 +1,7 @@
# $Id: Makefile,v 1.2 2003/09/07 20:34:19 max Exp $
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= sdp
MAN= sdp.3
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index 1ec2dc1..af28314 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
diff --git a/lib/libsmb/Makefile b/lib/libsmb/Makefile
index b63754b..6236a2e 100644
--- a/lib/libsmb/Makefile
+++ b/lib/libsmb/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
.PATH: ${CONTRIBDIR}/lib/smb
diff --git a/lib/libsmdb/Makefile b/lib/libsmdb/Makefile
index f1f5199..3fbd116 100644
--- a/lib/libsmdb/Makefile
+++ b/lib/libsmdb/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsmdb
diff --git a/lib/libsmutil/Makefile b/lib/libsmutil/Makefile
index e7919ea..e1d908e 100644
--- a/lib/libsmutil/Makefile
+++ b/lib/libsmutil/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsmutil
diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile
index d446151..37a3a6e 100644
--- a/lib/libsqlite3/Makefile
+++ b/lib/libsqlite3/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
PRIVATELIB= yes
LIB= sqlite3
SHLIB_MAJOR?= 0
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 8ae0e1a..e94ccbd 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -6,6 +6,7 @@
# quite large.
#
+PACKAGE=lib${LIB}
MK_PROFILE= no
MK_SSP= no
diff --git a/lib/libstdbuf/Makefile b/lib/libstdbuf/Makefile
index ea233a8..7d8c3ca 100644
--- a/lib/libstdbuf/Makefile
+++ b/lib/libstdbuf/Makefile
@@ -2,6 +2,7 @@
.include <bsd.own.mk>
+PACKAGE=lib${LIB}
LIB= stdbuf
SRCS= stdbuf.c
SHLIB_MAJOR= 1
diff --git a/lib/libstdthreads/Makefile b/lib/libstdthreads/Makefile
index 8daee58..3200d4e 100644
--- a/lib/libstdthreads/Makefile
+++ b/lib/libstdthreads/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= stdthreads
SHLIB_MAJOR= 0
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile
index e1e69fe..75a9e31 100644
--- a/lib/libsysdecode/Makefile
+++ b/lib/libsysdecode/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= sysdecode
SRCS= ioctl.c syscallnames.c utrace.c
diff --git a/lib/libtacplus/Makefile b/lib/libtacplus/Makefile
index 01345e1..73d8e76 100644
--- a/lib/libtacplus/Makefile
+++ b/lib/libtacplus/Makefile
@@ -24,6 +24,7 @@
#
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= tacplus
SRCS= taclib.c
INCS= taclib.h
diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile
index 7f73733..b5bba12 100644
--- a/lib/libtelnet/Makefile
+++ b/lib/libtelnet/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
TELNETDIR= ${.CURDIR}/../../contrib/telnet
.PATH: ${TELNETDIR}/libtelnet
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 1717672..0fac742 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -8,6 +8,7 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/libthread_db/Makefile b/lib/libthread_db/Makefile
index b612f4f..dfd4516 100644
--- a/lib/libthread_db/Makefile
+++ b/lib/libthread_db/Makefile
@@ -2,6 +2,7 @@
.PATH: ${.CURDIR}/arch/${MACHINE_CPUARCH}
+PACKAGE=lib${LIB}
LIB= thread_db
SHLIB_MAJOR= 3
SRCS= thread_db.c
diff --git a/lib/libucl/Makefile b/lib/libucl/Makefile
index 09a0bf2..802048f 100644
--- a/lib/libucl/Makefile
+++ b/lib/libucl/Makefile
@@ -2,6 +2,7 @@
LIBUCL= ${.CURDIR}/../../contrib/libucl
+PACKAGE=lib${LIB}
LIB= ucl
PRIVATELIB= true
SHLIB_MAJOR= 1
diff --git a/lib/libufs/Makefile b/lib/libufs/Makefile
index 24efd0c..86fa4c9 100644
--- a/lib/libufs/Makefile
+++ b/lib/libufs/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= ufs
SHLIBDIR?= /lib
SHLIB_MAJOR= 6
diff --git a/lib/libugidfw/Makefile b/lib/libugidfw/Makefile
index f11200d..2df6a24 100644
--- a/lib/libugidfw/Makefile
+++ b/lib/libugidfw/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= ugidfw
SHLIB_MAJOR= 5
SRCS= ugidfw.c
diff --git a/lib/libulog/Makefile b/lib/libulog/Makefile
index fedd114..434f3f6 100644
--- a/lib/libulog/Makefile
+++ b/lib/libulog/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SHLIBDIR?=/lib
.include <src.opts.mk>
diff --git a/lib/libunbound/Makefile b/lib/libunbound/Makefile
index ea94e6d..9a7838d 100644
--- a/lib/libunbound/Makefile
+++ b/lib/libunbound/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
# Vendor sources and generated files
LDNSDIR= ${.CURDIR}/../../contrib/ldns
UNBOUNDDIR= ${.CURDIR}/../../contrib/unbound
diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile
index be55aa6..fe54d2a 100644
--- a/lib/libusb/Makefile
+++ b/lib/libusb/Makefile
@@ -4,6 +4,7 @@
# Makefile for the FreeBSD specific LibUSB 2.0
#
+PACKAGE=lib${LIB}
LIB= usb
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
diff --git a/lib/libusbhid/Makefile b/lib/libusbhid/Makefile
index 7dba7ff..6efe9cc 100644
--- a/lib/libusbhid/Makefile
+++ b/lib/libusbhid/Makefile
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.5 1999/07/23 09:44:38 mrg Exp $
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= usbhid
MAN= usbhid.3
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index 35d146a..07412e0 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/libvgl/Makefile b/lib/libvgl/Makefile
index dfc4e81..5505d37 100644
--- a/lib/libvgl/Makefile
+++ b/lib/libvgl/Makefile
@@ -1,4 +1,5 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= vgl
SHLIB_MAJOR= 6
CFLAGS+=-Wall -I${.CURDIR}
diff --git a/lib/libvmmapi/Makefile b/lib/libvmmapi/Makefile
index 26cf86f..bf17566 100644
--- a/lib/libvmmapi/Makefile
+++ b/lib/libvmmapi/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= vmmapi
SRCS= vmmapi.c vmmapi_freebsd.c
INCS= vmmapi.h
diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile
index 0acb0c4..b2253d8 100644
--- a/lib/libwrap/Makefile
+++ b/lib/libwrap/Makefile
@@ -4,6 +4,7 @@
.include <src.opts.mk>
+PACKAGE=lib${LIB}
LIB= wrap
SHLIB_MAJOR= 6
INCS= tcpd.h
diff --git a/lib/libxo/Makefile b/lib/libxo/Makefile
index f8453f4..2f3f167 100644
--- a/lib/libxo/Makefile
+++ b/lib/libxo/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
diff --git a/lib/liby/Makefile b/lib/liby/Makefile
index 3493945..2f357f3 100644
--- a/lib/liby/Makefile
+++ b/lib/liby/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= y
SRCS= main.c yyerror.c
NO_PIC=
diff --git a/lib/libypclnt/Makefile b/lib/libypclnt/Makefile
index 2e302f1..113a3cc 100644
--- a/lib/libypclnt/Makefile
+++ b/lib/libypclnt/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=lib${LIB}
LIB= ypclnt
SHLIB_MAJOR= 4
SRCS= ypclnt_connect.c \
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index 7a80fcb..6a372bb 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
#
+PACKAGE=lib${LIB}
LIB= z
SHLIBDIR?= /lib
SHLIB_MAJOR= 6
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index e731a98..cebfbd7 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -12,6 +12,7 @@
#
#
+PACKAGE=lib${LIB}
.if ${MACHINE_CPUARCH} == "i386"
ARCH_SUBDIR= i387
.else
OpenPOWER on IntegriCloud