Subject: Re: First question
To: Jeremy C. Reed <reed@reedmedia.net>
From: Diego Linke - GAMK <gamk@gamk.com.br>
List: tech-pkg
Date: 11/12/2002 07:31:23
It's ok
I am making the package of sntop for netbsd. :-)
The my make file is:
----------
DISTNAME= sntop-1.4.3
CATEGORIES= net
MASTER_SITES= http://us.dl.sourceforge.net/sntop/
DEPENDS+= ncurses:../../devel/ncurses
DEPENDS+= fping:../../net/fping
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://sntop.sourceforge.net/
COMMENT= Monitor status of network nodes using fping
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_BUILDLINK2= YES
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
----------
I need that the flag -I${LOCALBASE}/include -L${LOCALBASE}/lib, either include in command cc.
Do you have an idea ?
PS: This my first package for netbsd. I would like to contribute with the netbsd project...
Thanks
--
[ Diego Linke - GAMK ]
System/Network/Security Administrator
E-Mail/Site: gamk@gamk.com.br - http://www.gamk.com.br
Public Key: http://www.gamk.com.br/gamk.asc
Phone Number: (+5541) 9967-3464
On Mon, Nov 11, 2002 at 01:05:41PM -0800, Jeremy C. Reed wrote:
> On Mon, 11 Nov 2002, Diego Linke - GAMK wrote:
>
> > How i make to place following flags in the cc ? (Using Makefile of pkgsrc of course)
> >
> > I tried (put no working):
> > CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
>
> This depends on if the CFLAGS is used by the application's Makefile
> itself too.
>
> Can you tell us more?
>
> What application are you packaging?
>
> What is the rest of your own pkgsrc Makefile for that package?
>
> Jeremy C. Reed
> http://www.reedmedia.net/
>
>