Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2015 15:19:24 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        xoan carlos <xoan333@yahoo.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: NEW PORT for librdkafka
Message-ID:  <CAGwOe2ZxBexq8AF_oU%2BU7ZS56AjxB2pzzMfOXofXFW7S9=NxUg@mail.gmail.com>
In-Reply-To: <771808828.596067.1436274693657.JavaMail.yahoo@mail.yahoo.com>
References:  <771808828.596067.1436274693657.JavaMail.yahoo@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El 07/07/2015 15:14, "xoan carlos via freebsd-ports" <
freebsd-ports@freebsd.org> escribi=C3=B3:
>
> Hi im trying to create and submit a NEW PORT for librdkafka. It compiles
ok but it get installed in the stage directory
(/usr/ports/devel/librdkafka/work/stage/usr/local/lib)  and not in
/usr/local/lib. Any idea what additional step is needed to install it in
the right directory instead of the jail environment?
> the makefile is as simple as
> # $FreeBSD$
> PORTNAME=3D       librdkafkaPORTVERSION=3D    0.8.6CATEGORIES=3D     deve=
l
> MAINTAINER=3D     youremail@example.comCOMMENT=3D        librdkafka
> USE_GITHUB=3D     yesGH_ACCOUNT=3D     edenhillGH_PROJECT=3D
librdkafkaGH_TAGNAME=3D     25d8791
> USES=3D           gmakeUSE_LDCONFIG=3D   yesGNU_CONFIGURE=3D  yes
> post-install:        @${STRIP_CMD}
${STAGEDIR}${PREFIX}/lib/lib*.so.include <bsd.port.mk>

It should install under the staging directory during development. After
that, the ports infrastructure will check that everything installed in the
appropriate paths.

I recommend to use poudriere and/or port test (part of porttools) to check
that everything is fine.

Regards.

> _______________________________________________
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2ZxBexq8AF_oU%2BU7ZS56AjxB2pzzMfOXofXFW7S9=NxUg>