diff options
author | schmonz <schmonz@pkgsrc.org> | 2020-06-25 05:42:36 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2020-06-25 05:42:36 +0000 |
commit | f2b56adfba2ac26925e09f76035f8e38af019ada (patch) | |
tree | 11bf1c3589d5474f86ebe27dc329ecd1c595772a /net/ucspi-tcp | |
parent | 83c251d332412d735c604d51660e5b1397e4afe2 (diff) | |
download | pkgsrc-f2b56adfba2ac26925e09f76035f8e38af019ada.tar.gz |
Retire 'djbware-errno-hack' and associated options.mk cleverness.
Instead:
1. Package makefiles including their own options.mk
2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed
3. Packages adjust SUBST_FILES.djberrno, if needed
Should fix bulk build failures due to multiple inclusions of options.mk
and/or incorrect definitions of DJB_ERRNO_HACK.
Approved during the freeze by wiz@.
Diffstat (limited to 'net/ucspi-tcp')
-rw-r--r-- | net/ucspi-tcp/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile index b397523aea7..9f0bc2c1450 100644 --- a/net/ucspi-tcp/Makefile +++ b/net/ucspi-tcp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2020/01/26 17:31:57 rillig Exp $ +# $NetBSD: Makefile,v 1.46 2020/06/25 05:42:37 schmonz Exp $ DISTNAME= ucspi-tcp-0.88 PKGREVISION= 6 @@ -22,6 +22,8 @@ CONFLICTS+= ucspi-tcp6-[0-9]* DJB_RESTRICTED= no +SUBST_CLASSES+= djberrno + SUBST_CLASSES+= etc SUBST_STAGE.etc= do-configure SUBST_FILES.etc= dns_rcrw.c @@ -32,6 +34,8 @@ BUILD_DEFS+= PKG_SYSCONFBASE INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +.include "options.mk" + post-install: cd ${WRKDIR}/${PKGNAME_NOREV}-man; for i in 1; do \ for j in *.$$i; do ${INSTALL_MAN} $$j \ |