diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/libgcrypt/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/libgcrypt/hacks.mk b/security/libgcrypt/hacks.mk index 6cc16cf046f..ccb3edf5f6b 100644 --- a/security/libgcrypt/hacks.mk +++ b/security/libgcrypt/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2004/12/18 23:54:58 grant Exp $ +# $NetBSD: hacks.mk,v 1.2 2004/12/21 08:57:48 grant Exp $ # config.h #defines socklen_t if it is not defined, but libgcrypt does # not propogate this to the installed gcrypt.h, so packages using it @@ -6,7 +6,7 @@ # # hack around this by using the same #define (if present) in gcrypt.h. post-configure: - socklen=`${GREP} '^#define socklen_t' ${WRKSRC}/config.h`; \ + socklen=`${GREP} '^#define socklen_t' ${WRKSRC}/config.h || ${TRUE}`; \ ${MV} ${WRKSRC}/src/gcrypt.h ${WRKSRC}/src/gcrypt.h.old; \ ${SED} -e "s,^/\* socklen_t \*/,$$socklen," \ ${WRKSRC}/src/gcrypt.h.old > ${WRKSRC}/src/gcrypt.h |