From owner-freebsd-questions Sun Sep 17 22:34:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.rdc2.bc.home.com (mail1.rdc2.bc.home.com [24.2.10.84]) by hub.freebsd.org (Postfix) with ESMTP id F0BD237B423 for ; Sun, 17 Sep 2000 22:34:52 -0700 (PDT) Received: from cr816685a ([24.113.95.72]) by mail1.rdc2.bc.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20000918053452.SBIX7962.mail1.rdc2.bc.home.com@cr816685a> for ; Sun, 17 Sep 2000 22:34:52 -0700 From: "Bennett Hui" To: Subject: customizing/configuring FreeBSD ports Date: Sun, 17 Sep 2000 22:33:16 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I am quite new to the FreeBSD OS although I've had some experience with Linux. The concept of application ports is convenient and elegant (very nice!!). However, I have two questions regarding customizing/configuring the way a port is installed and I can't find the answer anywhere on any FreeBSD website. I was hoping you could help answer them. 1) How do I configure a FreeBSD port so that it has added configuration options. For example, if I wanted to add xml and mysql support for PHP 4 in Linux, I would normally add --enable-xml and --with-mysql=/usr/local/mysql to the command line when executing the 'configure' script. How would I do this to the mod_php4 port for FreeBSD? Is it as simple as going into the Makefile and append these configurations to the bottom of CONFIGURE_ARGS=? 2) How would I combine the configuration of ports that are similar but each has different options configured in them. For example, there are many ports for Apache 1.3.12, each one with a different setup like Apache with jserve or Apache with MS Frontpage extensions or Apache with SSL/TLS or Apache with OpenSSL, etc. How would I combine these so that I have only one port of Apache 1.3.12 running on my machine but has (for example) SSL/TLS, jserve AND MS Frontpage extensions all configured on it? Do I run each port on top of the other or is there a way to configure the Makefile or some other file to make this work? Thanks in advance for your help! Regards, Bennett Hui bhui@mail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message