Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 May 2019 02:00:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237760] sysutils/s6-rc suggested modification to Makefile - a livedir variable
Message-ID:  <bug-237760-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237760

            Bug ID: 237760
           Summary: sysutils/s6-rc suggested modification to Makefile - a
                    livedir variable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
                CC: moo@arthepsy.eu
                CC: moo@arthepsy.eu
             Flags: maintainer-feedback?(moo@arthepsy.eu)

Would it be possible to add a variable to the Makefile that enables
customisation of s6-rc's root. I have different location of memory disks and
would prefer to pass a variable during build rather than have to create a
soft-link to /run/s6-rc.

Perhaps something like:

--- /usr/ports/sysutils/s6-rc/Makefile  (revision 500571)
+++ /usr/ports/sysutils/s6-rc/Makefile  (working copy)
@@ -21,6 +21,8 @@
 LIB_DEPENDS=3D   libs6.so:sysutils/s6 \
                libskarnet.so:devel/skalibs

+LIVEDIR?=3D/run/s6-rc
+
 USES=3D          gmake

 USE_LDCONFIG=3D  yes
@@ -31,6 +33,7 @@
        --with-lib=3D${LOCALBASE}/lib/execline \
        --with-lib=3D${LOCALBASE}/lib/s6 \
        --with-dynlib=3D${LOCALBASE}/lib \
+       --livedir=3D${LIVEDIR} \
        --enable-shared

 DOCS=3D          AUTHORS COPYING INSTALL README doc/*.html

And thanks for maintaining the port, I found s6 & friends and decided to us=
e it
 before realising that it was already available in "ports".  A nice surpris=
e :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237760-7788>