Bug 274240 - cad/ghdl: Enable libghdl with synthesis features
Summary: cad/ghdl: Enable libghdl with synthesis features
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks: 274243
  Show dependency treegraph
 
Reported: 2023-10-03 13:51 UTC by Nico Sonack
Modified: 2023-10-07 04:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
Patch for libghdl with synthesis features (2.02 KB, patch)
2023-10-03 13:51 UTC, Nico Sonack
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Sonack 2023-10-03 13:51:05 UTC
Created attachment 245407 [details]
Patch for libghdl with synthesis features

This enables libghdl with synthesis features which I needed for getting yosys with VHDL support to build in ports.

Follow-up for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274239
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2023-10-07 04:53:54 UTC
Thanks for the patch.

I've committed a reworked patch:
- removed --disable-libghdl
- removed unused dependencies
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-10-07 04:55:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b7c594ee694505271855f97416b22b0cc8c2d2b6

commit b7c594ee694505271855f97416b22b0cc8c2d2b6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-10-07 04:50:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-10-07 04:54:02 +0000

    cad/ghdl: Add SYNTH option; Remove --disable-libghdl; Remove unused deps

    PR:             274240
    Suggested by:   Nico Sonack <nsonack@outlook.com>

 cad/ghdl/Makefile  | 18 ++++++++++--------
 cad/ghdl/pkg-plist |  5 +++++
 2 files changed, 15 insertions(+), 8 deletions(-)