summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-06-25 05:42:36 +0000
committerschmonz <schmonz@pkgsrc.org>2020-06-25 05:42:36 +0000
commitf2b56adfba2ac26925e09f76035f8e38af019ada (patch)
tree11bf1c3589d5474f86ebe27dc329ecd1c595772a /math
parent83c251d332412d735c604d51660e5b1397e4afe2 (diff)
downloadpkgsrc-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 'math')
-rw-r--r--math/djbfft/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile
index 9081e779bf1..6bcebf7276e 100644
--- a/math/djbfft/Makefile
+++ b/math/djbfft/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2020/01/26 17:31:38 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2020/06/25 05:42:39 schmonz Exp $
DISTNAME= djbfft-0.76
CATEGORIES= math
@@ -12,7 +12,11 @@ LICENSE= public-domain
DJB_RESTRICTED= no
NOT_FOR_PLATFORM= IRIX-*-*
+SUBST_CLASSES+= djberrno
+
INSTALLATION_DIRS= include/djbfft lib
+.include "options.mk"
+
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"