diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-05-14 21:10:01 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-05-14 21:10:01 +0000 |
commit | 767e40c84231932cdb466c6c97ea8db76151cd96 (patch) | |
tree | ede0262a3492320f4b88ca77da05eeae33a08306 /net/ORBit | |
parent | 884b7eb287311b9d1a5fb521510268a7fda5bc4c (diff) | |
download | pkgsrc-767e40c84231932cdb466c6c97ea8db76151cd96.tar.gz |
small modification to also match for end of line ($) with the grep and sed
expressions of that hack
Diffstat (limited to 'net/ORBit')
-rw-r--r-- | net/ORBit/hacks.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ORBit/hacks.mk b/net/ORBit/hacks.mk index b54ef4ea558..029314d78f0 100644 --- a/net/ORBit/hacks.mk +++ b/net/ORBit/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2006/05/01 00:19:45 schwarz Exp $ +# $NetBSD: hacks.mk,v 1.2 2006/05/14 21:10:01 schwarz Exp $ .if !defined(ORBIT_HACKS_MK) ORBIT_HACKS_MK= # defined @@ -9,16 +9,16 @@ ORBIT_HACKS_MK= # defined ### This works around the problem reported in pkg/27009. ### .if exists(${LOCALBASE}/include/pthread.h) -_SOCKLEN_T_TYPEDEFD!= ${GREP} -c '^typedef\ .*\ socklen_t;' ${LOCALBASE}/include/pthread.h || ${TRUE} -.if ${_SOCKLEN_T_TYPEDEFD} == "1" +_SOCKLEN_T_TYPEDEFD!= ${GREP} -c '^typedef\ .*\ socklen_t;$$' ${LOCALBASE}/include/pthread.h || ${TRUE} +. if ${_SOCKLEN_T_TYPEDEFD} == "1" 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_SED.socklen_t= -e 's/^\#define\ socklen_t\ size_t//' +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 -.endif +. endif .endif .endif |