summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authordholland <dholland>2011-10-02 22:55:25 +0000
committerdholland <dholland>2011-10-02 22:55:25 +0000
commit07005e6ceff43e56ead1e3c67284840570a0ec90 (patch)
treed128c2bb38300392a85743f7d3f70f1a24a82344 /editors
parent902149d6b4098a86dd8071b45704c1572b37bd22 (diff)
downloadpkgsrc-07005e6ceff43e56ead1e3c67284840570a0ec90.tar.gz
getline. (fix it with SUBST instead of five one-line patches)
Diffstat (limited to 'editors')
-rw-r--r--editors/gate/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/gate/Makefile b/editors/gate/Makefile
index 7229cc8462f..d1fe6c4770a 100644
--- a/editors/gate/Makefile
+++ b/editors/gate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/01/29 19:37:48 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2011/10/02 22:55:25 dholland Exp $
#
DISTNAME= gate-2.06
@@ -17,4 +17,10 @@ BUILD_TARGET= # empty
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+SUBST_CLASSES+= getline
+SUBST_STAGE.getline= pre-configure
+SUBST_MESSAGE.getline= Fixing conflict with POSIX getline.
+SUBST_FILES.getline= gate.h line.c main.c spel.c subs.c
+SUBST_SED.getline= -e 's/getline/get_line/'
+
.include "../../mk/bsd.pkg.mk"