Opened 6 years ago

Closed 6 years ago

#58373 closed defect (fixed)

dvisvgm-devel @20190415-6e826ebf: build dependencies not specified properly

Reported by: chrstphrchvz (Christopher Chavez) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: dvisvgm

Description

In [bf528304dd/macports-ports]:

subport dvisvgm-devel {}

if {${subport} eq ${name}} {

    …

} else {

    # devel

    …

    use_autoconf yes
    autoconf.cmd ${worksrcpath}/autogen.sh

    # Setting autoconf.cmd to a non-default value after setting 'use_autoconf yes'
    # removes the automatic dependencies, so re-add them.
    depends_build \
        port:autoconf \
        port:automake \
        port:libtool

}

depends_build \
    port:asciidoc \
    port:pkgconfig

The second (outer) depends_build wipes out the depends_build specified for dvisvgm-devel. This caused CI builds to fail:

https://travis-ci.org/macports/macports-ports/builds/523341224?utm_source=github_status&utm_medium=notification

https://github.com/macports/macports-ports/pull/4127/checks?check_run_id=108395012

Change History (2)

comment:1 Changed 6 years ago by michaelld (Michael Dickens)

Yes this was an oversight on my part when I added the devel version. Easy to fix, luckily!

comment:2 Changed 6 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In 333402990a85709ede23229fada3fe1c9067beeb/macports-ports (master):

dvisvgm: fix release checksums and devel dependencies overwrite; rev bump both

Closes: #58371
Closes: #58373

Note: See TracTickets for help on using tickets.