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@.
27 lines
791 B
Makefile
27 lines
791 B
Makefile
# $NetBSD: Makefile,v 1.26 2020/06/25 05:42:40 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= memtester-4.3.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${HOMEPAGE}old-versions/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://pyropus.ca/software/memtester/
|
|
COMMENT= Utility for testing the memory subsystem for faults
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
NOT_FOR_PLATFORM= Interix-*-* # no m[un]lock(2), so not useful anyway
|
|
|
|
DJB_RESTRICTED= NO
|
|
DJB_MAKE_TARGETS= NO
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/memtester
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_PROGRAM} memtester ${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_MAN} memtester.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
|
|
${INSTALL_DATA} README.tests ${DESTDIR}${PREFIX}/share/doc/memtester
|
|
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|