ports/92224: security/cryptlib: unbreak

Johan van Selst johans at stack.nl
Mon Jan 23 20:40:06 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list