On 2020/01/06 11:50, Jan-Piet Mens wrote:
> Hello!
> 
> This is a new port for perp [1], a persistent process supervisor and service
> managment framework for Unix. It provides a number of utilities [2],
> including tinylog(8).
> 
> I have built and tested this package on 6.6-CURRENT
> 
> I'm hoping somebody will be willing to test this and give me feedback.
> 
> Thank you and best regards,
> 
>       -JP
> 
> [1] http://b0llix.net/perp/
> [2] http://b0llix.net/perp/site.cgi?page=manual

This is OK with me to import with this diff on top (compiler shouldn't
be hardcoded, binaries shouldn't be stripped if doing a debug build).

diff 0e458e79f098da3de9ac8cb27755bdccb850533e /usr/ports/mystuff
blob - 28760763baeb159169a3031d4921af08efcd6d53
file + sysutils/perp/Makefile
--- sysutils/perp/Makefile
+++ sysutils/perp/Makefile
@@ -11,18 +11,22 @@ MAINTAINER=     Jan-Piet Mens <po...@jpmens.net>
 # License free to use http://b0llix.net/perp/site.cgi?page=LICENSE
 PERMIT_PACKAGE= Yes
 
+WANTLIB += c
+
 MASTER_SITES=   http://b0llix.net/perp/distfiles/
 
 CFLAGS+=        -I. -I../lasagna
 CFLAGS+=        -DPERP_BASE_DEFAULT='\"${SYSCONFDIR}/perp\"'
 
-MAKE_FLAGS=     CFLAGS="${CFLAGS}"
+MAKE_FLAGS=     CC="${CC}" CFLAGS="${CFLAGS}"
 MAKE_FLAGS+=    BINDIR="${TRUEPREFIX}/bin" \
                 SBINDIR="${TRUEPREFIX}/sbin" \
                 MANDIR="${TRUEPREFIX}/man"
 
+.ifndef DEBUG
 pre-install:
        cd ${WRKSRC} && ${MAKE} strip
+.endif
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/perp

Reply via email to