From owner-svn-doc-all@FreeBSD.ORG Thu Feb 14 16:20:37 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3F3131F9 for ; Thu, 14 Feb 2013 16:20:37 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-da0-f46.google.com (mail-da0-f46.google.com [209.85.210.46]) by mx1.freebsd.org (Postfix) with ESMTP id E1AB6DD4 for ; Thu, 14 Feb 2013 16:20:36 +0000 (UTC) Received: by mail-da0-f46.google.com with SMTP id p5so1121686dak.33 for ; Thu, 14 Feb 2013 08:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=8jdLKsVhCl5zuG+j329RukUGhor49qksgkEWacfisNw=; b=lQ/7xh3Jr9oNnXo0K6rYWj0GxYj3Dyqo5wYyMtjt90ZKyfUBcqVSh+3E+hDlfAD3NP efLzY64Ab6CQ4kEdWxhpVl/NN/N04jrjgVXW9P8dMSHBGHm5J5Z0AGzn54Py09luLFgt eAEglgKL3Qt8WwIlLwwe19u54YOjQfvzkqBIo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=8jdLKsVhCl5zuG+j329RukUGhor49qksgkEWacfisNw=; b=lSw/1MWNLeyeR2QEbNI/HGQrqAVz13n8j7Ue8VB9rws/9EZ118JKjcxL8fGS1KzByC Vp+20Fh4raOf3u2chSqsz0LMh1j7JQbeDP+ZrAFH2ffkwrDN1qu6FQSEq60CGp1XUzV7 qXeQ3e5Re+RAP3Uj8vk6LTVZpaQjleVPhIrvi9djDgiOcY9qV+NGScwU7BSw8bZsk0Dm MeVVwICr649N+OBy3b1EtwSd4k8XFq332JWGEo76ZIO4XyYUXejrJzikkh3E+g++pykg SMFQBV2HrRRwkRLGaScmYKhpE4E6e5I9ssw/2PenQVaH5s8xhXEv5B1uGBUaE+dI2qpq JUEQ== X-Received: by 10.68.12.103 with SMTP id x7mr5391431pbb.37.1360858835637; Thu, 14 Feb 2013 08:20:35 -0800 (PST) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.66.148.10 with HTTP; Thu, 14 Feb 2013 08:20:05 -0800 (PST) In-Reply-To: <511D0D48.1090000@FreeBSD.org> References: <201302141435.r1EEZsXu042558@svn.freebsd.org> <511CF790.7040804@FreeBSD.org> <511D0D48.1090000@FreeBSD.org> From: Eitan Adler Date: Thu, 14 Feb 2013 11:20:05 -0500 X-Google-Sender-Auth: 3CS9jsQeHsuICXz3V5f0R1ftCUM Message-ID: Subject: Re: svn commit: r40970 - head/en_US.ISO8859-1/books/porters-handbook To: Alex Dupre Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlfmWD0RoD4laoeSgbd44DD7nu6u+68hgSCs0vYekLuLE8uCueDLF7OtqXeJ4neMy8JsqOS Cc: svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org, Pietro Cerutti X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 16:20:37 -0000 On 14 February 2013 11:14, Alex Dupre wrote: > Eitan Adler ha scritto: >> Because a program that uses pthreads *must* use -pthread to both >> compile and link and not use -lpthread. > > Is this the reason we have the following in bsd.port.mk? :-) > > PTHREAD_CFLAGS?= Every time the -pthread vs -lpthread discussion comes up this is brought up. I have no idea why this is, or who committed it. -pthread also defines certain preproccessor flags and may link in additional libraries. > We are not talking about correct programming standards, we are talking > about porting software on FreeBSD. Do we really want port maintainers to > do extra work for 'purity'? Perhaps if one is changing other things it doesn't hurt to also fix this. It isn't a big priority though. -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams