Bug 274240

Summary: cad/ghdl: Enable libghdl with synthesis features
Product: Ports & Packages Reporter: Nico Sonack <nsonack>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274239
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274243
Bug Depends on:    
Bug Blocks: 274243    
Attachments:
Description Flags
Patch for libghdl with synthesis features none

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(-)