summaryrefslogtreecommitdiff
path: root/security/nfsbug
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2011-10-03 05:24:38 +0000
committeragc <agc@pkgsrc.org>2011-10-03 05:24:38 +0000
commitd78cfab49dfa157d4647c4ace845f711c868a7b1 (patch)
treef7706bb1f7cf64672a2ebfd89ac8380ee8fe2bfc /security/nfsbug
parent407158d897fb689f9fc516b7aae943414bf70138 (diff)
downloadpkgsrc-d78cfab49dfa157d4647c4ace845f711c868a7b1.tar.gz
rename the getline() function to nfsbug_getline() using SUBST, so that we
can build on more modern systems.
Diffstat (limited to 'security/nfsbug')
-rw-r--r--security/nfsbug/Makefile6
1 files changed, 5 insertions, 1 deletions
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