From d78cfab49dfa157d4647c4ace845f711c868a7b1 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 3 Oct 2011 05:24:38 +0000 Subject: rename the getline() function to nfsbug_getline() using SUBST, so that we can build on more modern systems. --- security/nfsbug/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'security') diff --git a/security/nfsbug/Makefile b/security/nfsbug/Makefile index dcb6c9755c5..e4b0352df84 100644 --- a/security/nfsbug/Makefile +++ b/security/nfsbug/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2010/01/27 21:37:03 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2011/10/03 05:24:38 agc Exp $ DISTNAME= nfsshell-1.0 PKGREVISION= 1 @@ -15,6 +15,10 @@ PKG_DESTDIR_SUPPORT= user-destdir EXTRACT_ONLY= nfsBugFerret.tgz WRKSRC= ${WRKDIR}/nfsbug +SUBST_CLASSES+= getline +SUBST_STAGE.getline= pre-configure +SUBST_FILES.getline= nfsshell.c +SUBST_SED.getline+= -e 's|getline|nfsbug_getline|g' INSTALLATION_DIRS= bin -- cgit v1.2.3