Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 13:13:26 -0500
From:      Max Baker <maxbaker@users.sourceforge.net>
To:        freebsd-ports@freebsd.org
Subject:   Passing make flags to a dependency
Message-ID:  <20050206181326.GB1966@warped.org>

next in thread | raw e-mail | index | archive | help
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 <max@netdisco.org>
#
# $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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050206181326.GB1966>