diff options
-rw-r--r-- | sysutils/ucspi-tcp/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile index 0e25d3c31953..845fa7f47a06 100644 --- a/sysutils/ucspi-tcp/Makefile +++ b/sysutils/ucspi-tcp/Makefile @@ -50,17 +50,17 @@ PATCH_SITES+= http://www.nrg4u.com/qmail/ PATCHFILES+= ucspi-tcp-ssl-20050405.patch.gz PATCH_DIST_STRIP= -p1 +post-patch: + @${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \ + s|-lcrypto|-L${OPENSSLBASE}/lib |g' ${WRKSRC}/Makefile +.endif + .if defined(WITH_RBL2SMTPD) PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/garga\/ucspi-tcp\/:rbl2smtpd/} PATCHFILES+= ucspi-tcp_rbl2smtpd.diff:rbl2smtpd PATCH_DIST_STRIP= -p1 .endif -post-patch: - @${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \ - s|-lcrypto|-L${OPENSSLBASE}/lib |g' ${WRKSRC}/Makefile -.endif - post-configure: @${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home @${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc |