summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/distcache/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/distcache/Makefile b/security/distcache/Makefile
index ab15fa121028..28688e72397c 100644
--- a/security/distcache/Makefile
+++ b/security/distcache/Makefile
@@ -23,8 +23,8 @@ PORTDOCS= ANNOUNCE BUGS CHANGES FAQ README
OPTIONS_DEFINE= DOCS
-post-patch:
- @${GREP} -q 'define SSLeay_version' /usr/include/openssl/crypto.h \
+pre-configure: # yes, post-patch won't work in this case
+ @${GREP} -q 'define SSLeay_version' ${OPENSSLINC}/openssl/crypto.h \
&& ${REINPLACE_CMD} -e 's,SSLeay_version,OpenSSL_version,' \
${WRKSRC}/ssl/configure || :