[Bug 237760] sysutils/s6-rc suggested modification to Makefile - a livedir variable

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 6 02:00:24 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237760

            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 at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
                CC: moo at arthepsy.eu
                CC: moo at arthepsy.eu
             Flags: maintainer-feedback?(moo at 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=   libs6.so:sysutils/s6 \
                libskarnet.so:devel/skalibs

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

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

 DOCS=          AUTHORS COPYING INSTALL README doc/*.html

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

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


More information about the freebsd-ports-bugs mailing list