Opened 3 years ago

Closed 3 years ago

#63273 closed defect (fixed)

boost176: proxy package skips cmake scripts install for +cmake_scripts variant

Reported by: gkorovkin (Герман) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: michaelld (Michael Dickens)
Port: boost176

Description

After port install boost with +cmake_scripts variant there is no corresponding cmake scripts in /opt/local/lib/cmake directory.

Installed ports versions:

  boost @1.76_0 (active)
  boost176 @1.76.0_2+cmake_scripts+no_single+python39 (active)

Quick review shown that there is a few line in devel/boost/Portfile:destroot stage (lines 53,54) which always will be skipping lib/cmake installation:

            set plib ${prefix}/lib/[file tail ${lib}]
            if {![file exists ${plib}]}

for lib equal "/opt/local/libexec/boost/1.76/lib/cmake", plib will be "/opt/local/lib/cmake" and cmake scripts "destrooting" will be skipped

Change History (4)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: mascguy added
Owner: set to michaelld
Port: boost176 added; boost removed
Status: newassigned
Summary: boost proxy package skips cmake scripts install for +cmake_scripts variantboost176: proxy package skips cmake scripts install for +cmake_scripts variant

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Looks reasonably simple to fix, I'll try to tackle this within the next few days.

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: michaelld added; mascguy removed
Owner: changed from michaelld to mascguy

comment:4 Changed 3 years ago by Lord-Kamina (Gregorio Litenstein)

Resolution: fixed
Status: assignedclosed

In 6303dc8dbb64668410344861dbeec2043f44029c/macports-ports (master):

boost: Try to fix cmake symlink creation.

Should fix #63273

Note: See TracTickets for help on using tickets.