From owner-freebsd-ports@FreeBSD.ORG Tue Mar 15 23:00:28 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A07C1065670 for ; Tue, 15 Mar 2011 23:00:28 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1078FC1E for ; Tue, 15 Mar 2011 23:00:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp024.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPSA id <0LI400EUHFVUZW80@asmtp024.mac.com> for freebsd-ports@freebsd.org; Tue, 15 Mar 2011 15:59:54 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-03-15_03:2011-03-14, 2011-03-15, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1103150175 From: Chuck Swiger In-reply-to: Date: Tue, 15 Mar 2011 15:59:53 -0700 Message-id: <74789707-D302-4FBA-B211-C9F6732C9C29@mac.com> References: <4D7FBC0E.5020302@reiteration.net> <1468BFDD-5E3C-4756-830B-266D0942AED0@mac.com> To: Eitan Adler X-Mailer: Apple Mail (2.1082) Cc: John , FreeBSD Ports ML Subject: Re: can make -j be used for ports? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 23:00:28 -0000 On Mar 15, 2011, at 3:51 PM, Eitan Adler wrote: >> It certainly wasn't clear to me that this is what the OP meant. If you: >> >> cd /usr/ports/www/apache22 >> make -j 3 >> >> ...what do you expect to happen, and how many ports would you expect to be built at once? > > What *would* happen is that make would try to build multiple ports at once. Did you actually try and see what happens? I'm thinking "no"...since, unless something is very different, you ought to find it terminating as follows: # cd /usr/ports/www/apache22 ; make -j 3 ===> apache-2.2.17_1 depends on file: /usr/local/lib/libcrypto.so.7 - found ===> apache-2.2.17_1 depends on file: /usr/local/bin/perl5.12.3 - found ===> apache-2.2.17_1 depends on file: /usr/local/bin/autoconf-2.68 - found ===> apache-2.2.17_1 depends on package: libtool>=2.4 - found ===> apache-2.2.17_1 depends on shared library: expat.6 - found ===> apache-2.2.17_1 depends on shared library: apr-1 - found ===> apache-2.2.17_1 depends on shared library: pcre.0 - found ===> apache-2.2.17_1 depends on shared library: iconv.3 - found ===> apache-2.2.17_1 depends on shared library: mysqlclient.15 - found ===> apache-2.2.17_1 depends on shared library: db-4.4.0 - found ===> apache-2.2.17_1 depends on shared library: sqlite3.8 - found ===> Configuring for apache-2.2.17_1 ...whereas just typing make proceeds with: checking for chosen layout... FreeBSD checking for working mkdir -p... yes checking build system type... i386-portbld-freebsd7.4 checking host system type... i386-portbld-freebsd7.4 checking target system type... i386-portbld-freebsd7.4 [ ...followed by an actual build... ] Regards, -- -Chuck