lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master ba75c8d 2/6: Move patch flags into $(PATCHFLA


From: Greg Chicares
Subject: [lmi-commits] [lmi] master ba75c8d 2/6: Move patch flags into $(PATCHFLAGS)
Date: Fri, 19 May 2017 17:57:53 -0400 (EDT)

branch: master
commit ba75c8dc33afe0f047ceff8bd73504cf83678cab
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Move patch flags into $(PATCHFLAGS)
---
 install_wx.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/install_wx.make b/install_wx.make
index f4d7f34..1a4a4e2 100644
--- a/install_wx.make
+++ b/install_wx.make
@@ -167,10 +167,11 @@ WGET   := wget
 
 source_archives := $(wx_archive)
 patchset        := wx-$(wx_version).patch
+PATCHFLAGS      := --directory=$(source_dir) --strip=1
 
 .PHONY: all
 all: clobber $(source_archives)
-       [ ! -e $(patchset) ] || $(PATCH) --directory=$(source_dir) --strip=1 
<$(patchset)
+       [ ! -e $(patchset) ] || $(PATCH) $(PATCHFLAGS) <$(patchset)
        $(MKDIR) --parents $(build_dir)
        $(MAKE) --file=$(this_makefile) --directory=$(build_dir) wx
        $(MAKE) --file=$(this_makefile) --directory=$(prefix)/bin 
portable_script



reply via email to

[Prev in Thread] Current Thread [Next in Thread]