3948870bde
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@.
23 lines
525 B
Makefile
23 lines
525 B
Makefile
# $NetBSD: Makefile,v 1.18 2020/06/25 05:42:36 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= publicfile-0.52
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://cr.yp.to/publicfile/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://cr.yp.to/publicfile.html
|
|
COMMENT= Secure read-only HTTP and FTP servers
|
|
|
|
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
|
|
|
|
DJB_RESTRICTED= YES
|
|
DJB_CONFIG_PREFIX= ${PREFIX}/publicfile
|
|
|
|
SUBST_CLASSES+= djberrno
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|