aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-01-09 18:59:31 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-01-09 18:59:31 +0000
commitbebba81071b7663d38d9d8aaf4e457af1a2e29d8 (patch)
tree9f95568c91b734e5a7b778db7c3b0cefa31ac514 /sysutils
parent1c6177648a4743b7a4bcf7f2fad6eb37d8256186 (diff)
downloadports-bebba81071b7663d38d9d8aaf4e457af1a2e29d8.tar.gz
ports-bebba81071b7663d38d9d8aaf4e457af1a2e29d8.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ucspi-tcp/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile
index 6923095e81e4..4060a0b64a00 100644
--- a/sysutils/ucspi-tcp/Makefile
+++ b/sysutils/ucspi-tcp/Makefile
@@ -26,6 +26,10 @@ ALL_TARGET= prog install instcheck
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
+.if defined(WITH_SSL)
+USE_OPENSSL= yes
+.endif
+
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MAN)
@@ -46,6 +50,11 @@ PATCH_DIST_STRIP= -p1
PATCH_SITES+= http://www.nrg4u.com/qmail/
PATCHFILES+= ucspi-tcp-ssl-20050405.patch.gz
PATCH_DIST_STRIP= -p1
+USE_REINPLACE= yes
+
+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: