svn commit: r378298 - head/ftp/proftpd

John Marino freebsd.contact at marino.st
Mon Feb 2 09:40:07 UTC 2015


On 2/2/2015 10:16, Martin Matuska wrote:
> Author: mm
> Date: Mon Feb  2 09:16:37 2015
> New Revision: 378298
> URL: https://svnweb.freebsd.org/changeset/ports/378298
> QAT: https://qat.redports.org/buildarchive/r378298/
> 
> Log:
>   Always compile with -pthread
> 
> Modified:
>   head/ftp/proftpd/Makefile
> 
> Modified: head/ftp/proftpd/Makefile
> ==============================================================================
> --- head/ftp/proftpd/Makefile	Mon Feb  2 06:27:11 2015	(r378297)
> +++ head/ftp/proftpd/Makefile	Mon Feb  2 09:16:37 2015	(r378298)
> @@ -101,9 +101,7 @@ PLIST_SUB+=	LOCALSTATEDIR="${LOCALSTATED
>  .if !defined(_BUILDING_PROFTPD_MODULE)
>  CPPFLAGS+=	-DHAVE_OPENSSL -I${OPENSSLINC}
>  LIBS+=		-lssl -lcrypto -L${OPENSSLLIB}
> -. if !defined(WITH_OPENSSL_PORT)
>  LDFLAGS+=	-pthread
> -. endif
>  .endif
>  
>  .if !defined(_BUILDING_PROFTPD_MODULE)
> 

shouldn't that be "LDFLAGS+= -lpthread" ?

I think we were told the case for "-pthread" is no longer valid and we
should use -lpthread from now on (IIUC, -pthread eventually pulls in
-pthread anyway)

John


More information about the svn-ports-all mailing list