summaryrefslogtreecommitdiff
path: root/sysutils/bup/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bup/patches/patch-Makefile')
-rw-r--r--sysutils/bup/patches/patch-Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/sysutils/bup/patches/patch-Makefile b/sysutils/bup/patches/patch-Makefile
index 17374e36ef8..134f17cb598 100644
--- a/sysutils/bup/patches/patch-Makefile
+++ b/sysutils/bup/patches/patch-Makefile
@@ -1,13 +1,15 @@
-$NetBSD: patch-Makefile,v 1.3 2012/09/04 13:43:15 wiz Exp $
+$NetBSD: patch-Makefile,v 1.4 2013/12/31 11:03:12 wiz Exp $
-Remove CFLAGS override (set from pkgsrc Makefile).
+Pass PYTHON through to configure.
---- Makefile.orig 2011-06-09 03:24:45.000000000 +0000
+--- Makefile.orig 2013-12-04 00:39:47.000000000 +0000
+++ Makefile
-@@ -1,5 +1,5 @@
- OS:=$(shell uname | sed 's/[-_].*//')
--CFLAGS:=-Wall -O2 -Werror $(PYINCLUDE)
-+CFLAGS+=-Wall -O2 -Werror $(PYINCLUDE)
- SOEXT:=.so
+@@ -67,7 +67,7 @@ install: all
- ifeq ($(OS),CYGWIN)
+ config/config.h: config/Makefile config/configure config/configure.inc \
+ $(wildcard config/*.in)
+- cd config && $(MAKE) config.h
++ cd config && $(MAKE) PYTHON=$(PYTHON) config.h
+
+ lib/bup/_helpers$(SOEXT): \
+ config/config.h \