diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-07-04 13:40:07 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-07-04 13:40:07 +0000 |
commit | 3cc59ce5299d6358f3c1487cc9da3d48ef0a0647 (patch) | |
tree | 4b7c9cc25a344fafc9d2f536ba6e474a9bb281e6 /cross/nios2-gcc41/options.mk | |
parent | 063580a062ba10ffba035c8d96b541b5ce7a426d (diff) | |
download | pkgsrc-3cc59ce5299d6358f3c1487cc9da3d48ef0a0647.tar.gz |
*: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
Diffstat (limited to 'cross/nios2-gcc41/options.mk')
-rw-r--r-- | cross/nios2-gcc41/options.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cross/nios2-gcc41/options.mk b/cross/nios2-gcc41/options.mk index 3a75a28eca0..432278740d5 100644 --- a/cross/nios2-gcc41/options.mk +++ b/cross/nios2-gcc41/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2016/07/07 13:26:16 rillig Exp $ +# $NetBSD: options.mk,v 1.4 2018/07/04 13:40:12 jperkin Exp $ ### Set options PKG_OPTIONS_VAR= PKG_OPTIONS.nios2-gcc @@ -15,7 +15,7 @@ CFLAGS+= -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE # conditional SUBST_CLASSES .if empty(PKG_OPTIONS:Mdoc) SUBST_CLASSES+= nios -SUBST_STAGE.nios= post-patch +SUBST_STAGE.nios= pre-configure SUBST_FILES.nios= gcc/Makefile.in SUBST_SED.nios= -e s/@@DOC@@// SUBST_SED.nios+= -e s/@@INSTALL_HTML@@// @@ -32,7 +32,7 @@ BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo PLIST.doc= yes SUBST_CLASSES+= nios -SUBST_STAGE.nios= post-patch +SUBST_STAGE.nios= pre-configure SUBST_FILES.nios= gcc/Makefile.in SUBST_SED.nios= -e s/@@DOC@@/doc/ SUBST_SED.nios+= -e s/@@INSTALL_HTML@@/install-html/ |