summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/cryptlib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile
index e898e1da72ab..7c2049c15659 100644
--- a/security/cryptlib/Makefile
+++ b/security/cryptlib/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A powerful security programming toolkit
ONLY_FOR_ARCHS= i386
-BROKEN= Hard-codes libc_r linkage
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -aq
@@ -29,6 +28,9 @@ INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
+post-patch:
+ ${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/' ${WRKSRC}/makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/endian ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION} \