[Bug 205762] CHEESESHOP bsd.sites.mk substitution breaks databases/pyspatialite

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 31 18:29:23 UTC 2015


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

            Bug ID: 205762
           Summary: CHEESESHOP bsd.sites.mk substitution breaks
                    databases/pyspatialite
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: python at FreeBSD.org
          Reporter: rakuco at FreeBSD.org
                CC: coder at tuxfamily.org, freebsd-ports-bugs at FreeBSD.org

MASTER_SITE_SUBDIRS in bsd.sites.mk has the following substitution for
CHEESESHOP:

  CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/}

This breaks databases/pyspatialite, which sets DISTNAME to
"${PORTNAME}-${PORTVERSION}-alpha-0". Since the regular expressions are greedy,
the last CHEESESHOP substitution matches "pyspatialite-3.0.1-alpha" instead of
"pyspatialite".

Perhaps PORTNAME should be used instead of DISTNAME?

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


More information about the freebsd-python mailing list