Date: Mon, 23 Jan 2006 21:33:33 +0100 (CET) From: Johan van Selst <johans@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92224: security/cryptlib: unbreak Message-ID: <20060123203333.2A43A17035@mud.stack.nl> Resent-Message-ID: <200601232040.k0NKe5dM030131@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92224 >Category: ports >Synopsis: security/cryptlib: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jan 23 20:40:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 6.0-STABLE FreeBSD 6.0-STABLE #9: Wed Jan 11 14:40:03 CET 2006 johans@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: In the package, -libc_r is hardcoded >How-To-Repeat: >Fix: Replace -lc_r by ${PTHREAD_LIBS} diff -uNr cryptlib/Makefile cryptlib/Makefile --- cryptlib/Makefile Mon Jan 23 04:09:28 2006 +++ cryptlib/Makefile Mon Jan 23 19:40:35 2006 @@ -16,7 +16,6 @@ COMMENT= A powerful security programming toolkit ONLY_FOR_ARCHS= i386 -BROKEN= Hard-codes libc_r linkage USE_ZIP= yes EXTRACT_BEFORE_ARGS= -aq @@ -28,6 +27,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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060123203333.2A43A17035>