summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-11-11 07:45:30 +0000
committerdholland <dholland@pkgsrc.org>2012-11-11 07:45:30 +0000
commita8318a366ccbe01a386c92243e0724731d3cb92c (patch)
treee49db70b240a0f1b49bf44e3ebfd93b2bf3981d8 /devel
parent6ed04076870d4c39c36d17875c9ccc8698bafe73 (diff)
downloadpkgsrc-a8318a366ccbe01a386c92243e0724731d3cb92c.tar.gz
add workaround for pbulk failure
Diffstat (limited to 'devel')
-rw-r--r--devel/magit/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/magit/Makefile b/devel/magit/Makefile
index 330de84d86f..91b90b92edb 100644
--- a/devel/magit/Makefile
+++ b/devel/magit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/10/31 11:17:27 asau Exp $
+# $NetBSD: Makefile,v 1.3 2012/11/11 07:45:30 dholland Exp $
#
DISTNAME= magit-1.2.0
@@ -14,13 +14,20 @@ LICENSE= gnu-gpl-v3
FETCH_USING= curl
INFO_FILES= yes
USE_LANGUAGES= # none
-USE_TOOLS= gmake makeinfo
+USE_TOOLS+= gmake makeinfo
NO_CONFIGURE= yes
MAKE_FLAGS+= EMACS=${EMACS_BIN}
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= SYSCONFDIR=${PKG_SYSCONFDIR}
+# pbulk sets BATCH=1 on the make command line, which breaks the makefile.
+SUBST_CLASSES+= batch
+SUBST_STAGE.batch= pre-build
+SUBST_FILES.batch= Makefile Makefile-e
+SUBST_SED.batch+= -e 's,BATCH,BAATCH,'
+SUBST_MESSAGE.batch= Working around pbulk make variable pollution.
+
INSTALL_TARGET= install_core
INSTALLATION_DIRS= ${EMACS_LISPPREFIX} ${PKGINFODIR}