Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2003 13:58:13 -0800
From:      David Thiel <lx@redundancy.redundancy.org>
To:        ports@freebsd.org
Subject:   makefile style questions
Message-ID:  <20030111215813.GA600@redundancy.redundancy.org>

next in thread | raw e-mail | index | archive | help
I've been doing a port of the Samhain IDS, and the distribution has
an "install-user" target that I'd like users to be able to run from
the port makefile - in other words, running make install-user in
/usr/ports/security/samhain runs make install-user in
/usr/ports/security/samhain/work/samhainx.x.  Without make -C,
what's the proper way to do this?

Also, when running portlint, I'm always told that RUN_DEPENDS needs
to be earlier in the makefile - but I'm using it like so:

.if defined(WITH_GPG)
CONFIGURE_ARGS+=  --with-gpg=${PREFIX}/bin/gpg
RUN_DEPENDS=    gnupg:${PORTSDIR}/security/gnupg
.endif

Should I be doing that another way?

Thanks,
David


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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