Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2015 10:31:10 +0100
From:      John Marino <freebsd.contact@marino.st>
To:        Martin Matuska <mm@FreeBSD.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r378298 - head/ftp/proftpd
Message-ID:  <54CF43DE.3020408@marino.st>
In-Reply-To: <201502020916.t129Gc7D050708@svn.freebsd.org>
References:  <201502020916.t129Gc7D050708@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54CF43DE.3020408>