summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authordholland <dholland>2011-10-03 00:59:26 +0000
committerdholland <dholland>2011-10-03 00:59:26 +0000
commitee5ec0ff3ae4ccb66b1e397dc8744c8634e7a33b (patch)
tree28dbaea32976a3f5a866c9d89aec81983a471eb4 /editors
parent05eb2d9570078947edfeb344705a50916d5d0d10 (diff)
downloadpkgsrc-ee5ec0ff3ae4ccb66b1e397dc8744c8634e7a33b.tar.gz
Fix getline conflict with SUBST
Diffstat (limited to 'editors')
-rw-r--r--editors/jove/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/jove/Makefile b/editors/jove/Makefile
index b3e932bc635..9985b26780d 100644
--- a/editors/jove/Makefile
+++ b/editors/jove/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2010/01/29 19:47:01 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2011/10/03 00:59:26 dholland Exp $
#
DISTNAME= jove4.16.0.70
@@ -22,4 +22,10 @@ MAKE_FLAGS+= NROFF=${NROFF:Q}
INSTALL_MAKE_FLAGS+= JOVEHOME=${DESTDIR}${PREFIX}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+SUBST_CLASSES+= getline
+SUBST_STAGE.getline= pre-build # no pre-configure with NO_CONFIGURE...
+SUBST_MESSAGE.getline= Fixing conflict with POSIX getline.
+SUBST_FILES.getline= insert.c io.c io.h recover.c util.c util.h
+SUBST_SED.getline= -e 's/getline/get_line/'
+
.include "../../mk/bsd.pkg.mk"