[Bug 226618] [PATCH]: devel/subversion Add freebsd flavor with FREEBSD_TEMPLATE enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 14 22:04:34 UTC 2018


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

            Bug ID: 226618
           Summary: [PATCH]: devel/subversion Add freebsd flavor with
                    FREEBSD_TEMPLATE enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lev at FreeBSD.org
          Reporter: leres at freebsd.org
          Assignee: lev at FreeBSD.org
             Flags: maintainer-feedback?(lev at FreeBSD.org)

In my environment I was building two subversion packages with and without the
FREEBSD_TEMPLATE option. This allowed me to install the FREEBSD_TEMPLATE
version on the system I do FreeBSD work on and the version without on the other
systems and avoid confusing my end users with the various FreeBSD specific
fields. I did this by creating a local slave port:

    # @(#) $Id: Makefile 4 2017-09-10 17:41:11Z leres $ (LBL)

    PKGNAMESUFFIX=              -freebsd

    CONFLICTS_INSTALL=  ${PORTNAME}-[0-9]*

    OPTIONS_SLAVE=              FREEBSD_TEMPLATE

    MASTERDIR=          /usr/ports/devel/subversion

    .include "${MASTERDIR}/Makefile"

This worked great until yesterday when something changed:

    [00:00:03] Error: MOVED: devel/subversion-freebsd 2011-10-16 Merged with
devel/subversion

The attached patch adds a freebsd FLAVOR to the subversion port. I'm not sure
if using OPTIONS_SLAVE is 100% correct but I couldn't quite figure out how
OPTIONS_SLAVE works. Setting OPTIONS_EXCLUDE to FREEBSD_TEMPLATE worked as
expected but setting OPTIONS_SET_FORCE did not.

Assuming we can converge on a reasonable version I'm happy to commit this with
maintainer approval.

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


More information about the freebsd-ports-bugs mailing list