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 /net/ORBit | |
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 'net/ORBit')
-rw-r--r-- | net/ORBit/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ORBit/hacks.mk b/net/ORBit/hacks.mk index 029314d78f0..2c26a31e6a4 100644 --- a/net/ORBit/hacks.mk +++ b/net/ORBit/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2006/05/14 21:10:01 schwarz Exp $ +# $NetBSD: hacks.mk,v 1.3 2018/07/04 13:40:27 jperkin Exp $ .if !defined(ORBIT_HACKS_MK) ORBIT_HACKS_MK= # defined @@ -14,7 +14,7 @@ _SOCKLEN_T_TYPEDEFD!= ${GREP} -c '^typedef\ .*\ socklen_t;$$' ${LOCALBASE}/inclu PKG_HACKS+= socklen_t-already-typedefd-in-pthread.h SUBST_CLASSES+= socklen_t SUBST_FILES.socklen_t= configure -SUBST_STAGE.socklen_t= post-patch +SUBST_STAGE.socklen_t= pre-configure SUBST_SED.socklen_t= -e 's/^\#define\ socklen_t\ size_t$$//' # remark: \ before # needed to prevent make from interpreting # remainder of line as a comment |