ports/163539: security/dropbear does not compile with STATIC (patch)

Charlie & root at 42.org
Thu Dec 22 15:10:12 UTC 2011


>Number:         163539
>Category:       ports
>Synopsis:       security/dropbear does not compile with STATIC (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 15:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD ice 8.2-STABLE FreeBSD 8.2-STABLE #18: Sun Dec 11 11:23:23 CET 2011 root at ice:/usr/obj/usr/src/sys/ICE amd64


	
>Description:

the dropbear port does not compile if a static binary is requested.
	
>How-To-Repeat:

cd /usr/ports/security/dropbear
make WITH_STATIC=YES

	
>Fix:

forcing the compiler to link libcrypt is enough.


--- Makefile.org	2011-09-24 00:25:10.000000000 +0200
+++ Makefile	2011-12-22 16:03:47.000000000 +0100
@@ -25,6 +25,7 @@
 
 .if defined(WITH_STATIC)
 LDFLAGS+=	-static
+CONFIGURE_ENV+=LIBS=-lcrypt
 .endif
 
 post-patch:



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list