Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 02:10:39 +0400
From:      Mikhail Tsatsenko <m.tsatsenko@gmail.com>
To:        Alex Laurie <alex.r.laurie@gmail.com>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Port not building
Message-ID:  <CAGK=9AFn0ZP87oGJdqR0rJZZEMe_SKWkxuvtWVXYikzvyMHtHw@mail.gmail.com>
In-Reply-To: <CAJ33AJUH6nUOeutD_RSg78Nuc%2BpuZ-BHvsRkbp-=O0a5xg6yag@mail.gmail.com>
References:  <CAJ33AJUH6nUOeutD_RSg78Nuc%2BpuZ-BHvsRkbp-=O0a5xg6yag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/11/5 Alex Laurie <alex.r.laurie@gmail.com>:
> Hi All,
>
> Writing my first port and for the life of me I cannot get it to build
> properly. It depends on PCRE and starts to build it but it says it's
> installed every time. I'm sure you seasoned vets will be able to point my
> mistake in a flat second. The Make file and output is below. The program
> depends on zlib, pcre, readline, openssl, bzip2, sqlite, ncurses and python
> at run time and build. I've been through the handbook and have learned a
> lot and done quite a bit of Googl-fu but I'm stumped. Any help? It is
> tabbed right, just doesn't paste into gmail right.
Hi,
You should probably use LIB_DEPENDS for pcre and others.
For example:
LIB_DEPENDS=   pcre:${PORTSDIR}/devel/pcre
> # $FreeBSD$
>
> PORTNAME= lnav
> PORTVERSION= 0.6.1
> CATEGORIES= sysutils
> MASTER_SITES= ${GH}
>
> MAINTAINER= Alex.R.Laurie@gmail.com
> COMMENT= Log file viewer
>
> LICENSE= GPLv2
>
> BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 \
> pcre:${PORTSDIR}/devel/pcre
>
> USE_OPENSSL= YES
> USES_AUTOTOOLS= YES
> USES_GMAKE= YES
> USE_PYTHON= YES
> USE_SQLITE= YES
> USE_NCURSES= YES
> USE_READLINE= YES
>
> USE_GITHUB= YES
> GH_ACCOUNT= tstack
> GH_COMMIT= 05c62fc
> GH_TAGNAME= ${GH_COMMIT}
> .include <bsd.port.mk>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



-- 
Mikhail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGK=9AFn0ZP87oGJdqR0rJZZEMe_SKWkxuvtWVXYikzvyMHtHw>