From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 23:16:07 2012 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 D1D62106564A for ; Mon, 9 Jan 2012 23:16:07 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id B505F8FC0A for ; Mon, 9 Jan 2012 23:16:07 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com (unknown [17.209.4.71]) by asmtp018.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LXJ00CQAXTXE000@asmtp018.mac.com> for freebsd-ports@freebsd.org; Mon, 09 Jan 2012 22:15:33 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-09_06:2012-01-09, 2012-01-09, 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 scancount=1 engine=6.0.2-1012030000 definitions=main-1201090230 From: Chuck Swiger In-reply-to: Date: Mon, 09 Jan 2012 14:15:32 -0800 Message-id: References: <07e401cccefb$364338b0$a2c9aa10$@fisglobal.com> <083a01cccf07$79fd35e0$6df7a1a0$@fisglobal.com> To: alexus X-Mailer: Apple Mail (2.1084) Cc: "freebsd-ports@freebsd.org ML" Subject: Re: ports vs packages 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: Mon, 09 Jan 2012 23:16:07 -0000 On Jan 9, 2012, at 2:00 PM, alexus wrote: > One of the things I'm seeing is that unfortunately packages are > somewhat limited vs ports... Packages come precompiled with default options. For people who want non-default options, you would need to build your own package from ports rather than using the precompiled one. > For example: > > I'm trying to get Apache httpd + PHP to work, after pkg_add -r php5, > php5 doesn't have libphp5.so that links Apache and PHP together... so > unless I'm doing something entirely wrong I basically must use ports > and nothing else to get the functionality i need... You can use ports and packages together just fine. In particular, you ought to be able to use the Apache-2.x package with a php5 port that you build to enable mod_php. Regards, -- -Chuck