From owner-freebsd-ports@FreeBSD.ORG Sun Feb 6 18:13:28 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3588C16A4CE for ; Sun, 6 Feb 2005 18:13:28 +0000 (GMT) Received: from roue.portalpotty.net (roue.portalpotty.net [69.44.62.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC16A43D54 for ; Sun, 6 Feb 2005 18:13:27 +0000 (GMT) (envelope-from maxbaker@users.sourceforge.net) Received: from max by roue.portalpotty.net with local (Exim 4.43) id 1CxquU-0000ZB-Iv for freebsd-ports@freebsd.org; Sun, 06 Feb 2005 10:13:26 -0800 Date: Sun, 6 Feb 2005 13:13:26 -0500 From: Max Baker To: freebsd-ports@freebsd.org Message-ID: <20050206181326.GB1966@warped.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Passing make flags to a dependency X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 18:13:28 -0000 Hi, I'm a noob to making a port, and am creating a port for my project netdisco, which has a truck-load of dependencies. One of those dependencies is apache2 with SSL turned on. I need to know how to pass the "WITH_SSL_MODULES=yes" flag to the apache2 port? Thanks folks! -m Here's my makefile so far (still has a ways to go): # Makefile for FreeBSD Ports for Netdisco (netdisco.org) # Date created: Feb 05, 2005 # By Max Baker # # $FreeBSD:$ # PORTNAME= netdisco PORTVERSION= 0.95 CATEGORIES= net-mgmt MASTER_SITES= http://netdisco.org MAINTAINER= max@netdisco.org COMMENT= Netdisco is an SNMP-based, web network management tool. USE_PERL5=yes USE_APACHE=yes APACHE_PORT=www/apache2 WITH_APACHE2= yes LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp BUILD_DEPENDS= psql:${PORTSDIR}/databases/postgres-80-server \ ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2 \ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \ ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ ${SITE_PERL}/Graph.pm:${PORTSDIR}/math/pg-Graph \ twopi:${PORTSDIR}/graphics/graphviz \ ${SITE_PERL}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz \ ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ ${SITE_PERL}/MasonX/Request/WithApacheSession.pm:${PORTSDIR}/www/p5-MasonX-Request-WithApacheSession \ ${SITE_PERL}/${PERL_ARCH}/Apache2/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq2 \ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/SNMP/Info.pm:${PORTSDIR}/net-mgmt/p5-SNMP-Info RUN_DEPENDS= ${BUILD_DEPENDS} .include