Opened 9 years ago
Closed 9 years ago
#50488 closed enhancement (fixed)
gflags: also build shared libs
Reported by: | carlesfernandez (Carles Fernandez) | Owned by: | c9s@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), kurthindenburg (Kurt Hindenburg) |
Port: | gflags |
Description
Gflags 2.1.2 does not build libgflags.dylib by default; the flag -DBUILD_SHARED_LIBS=ON should be passed to CMake. I'm attaching a patch that builds both the static and shared versions.
Attachments (1)
Change History (5)
comment:1 follow-up: 2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; c9s@… removed |
---|---|
Keywords: | haspatch added; shared libs removed |
Owner: | changed from macports-tickets@… to c9s@… |
Summary: | Adding shared lib building in gflags port → gflags: also build shared libs |
comment:2 Changed 9 years ago by carlesfernandez (Carles Fernandez)
Replying to ryandesign@…:
Thanks. The
revision
line should go right after thegithub.setup
line.
Thanks. This new patch fixes the issue.
Changed 9 years ago by carlesfernandez (Carles Fernandez)
Attachment: | add_shared_lib.patch added |
---|
Portfile patch
comment:4 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
done r145448
Note: See
TracTickets for help on using
tickets.
Thanks. The
revision
line should go right after thegithub.setup
line.