summaryrefslogtreecommitdiff
path: root/editors/gate
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-10-02 22:55:25 +0000
committerdholland <dholland@pkgsrc.org>2011-10-02 22:55:25 +0000
commit41d887f695082930086bccf84997f730d0c627da (patch)
treed128c2bb38300392a85743f7d3f70f1a24a82344 /editors/gate
parentdf1837eba995ae2bea526d421af168033286c87e (diff)
downloadpkgsrc-41d887f695082930086bccf84997f730d0c627da.tar.gz
getline. (fix it with SUBST instead of five one-line patches)
Diffstat (limited to 'editors/gate')
-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"