El 07/07/2015 15:14, "xoan carlos via freebsd-ports" <
freebsd-ports@freebsd.org> escribió:
>
> 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=       librdkafkaPORTVERSION=    0.8.6CATEGORIES=     devel
> MAINTAINER=     youremail@example.comCOMMENT=        librdkafka
> USE_GITHUB=     yesGH_ACCOUNT=     edenhillGH_PROJECT=
librdkafkaGH_TAGNAME=     25d8791
> USES=           gmakeUSE_LDCONFIG=   yesGNU_CONFIGURE=  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-unsubscr...@freebsd.org"
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to